RE: Re: New stackless proposal
"Mark Hahn" <[email protected]>
| Newsgroups | gmane.comp.lang.prothon.user |
|---|---|
| Message-ID | <000001c46774$460a3d80$0b01a8c0@mark> |
Lenard Lindstrom > A final comment. Stackless channels have a way to send an > exception. Will the yield statement do the same? I used it > when implementing the tasklet generator. For my generator I just used the exception that came from trying to yield to a no-longer-running thread. We can still do anything a channel used to do. You can always say curThreadMgr.method(). For your case it might be curThreadMgr.throw(exception).