Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2009-12-11
06:53 • Closed ticket [2806407fff]: NRE-enable coroutines plus 7 other changes artifact: 95b78a820c user: msofer
2009-06-15
04:00 • New ticket [2806407fff]. artifact: 33d6abf197 user: msofer

NRE-enable coroutines

Closed / Fixed2806407fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 17 years ago
Descriptionplain2009-06-15 04:00:09
Coroutines are currently not NRE-enabled; the naive attempt to enable them segfaults on [yield].

The problem is that TEBC does not know how to:
  (1) resume a coro in the same TEBC instance
  (2) yield into the same instance
The problem seems to be in the management coordination of the different stacks on swapping the execEnv, especially 'bottomPtr' (?).

See also 2037611
msoferplain2009-12-11 06:53:14
allow_comments - 1

Done :)
Log in (anonymous is fine) to add a comment.