Posted by Tim Gage on March 03, 2006 In Reply to Cool little Coroutines function posted by Bart van der Werf on February 19, 2006 This _is_ cool. I've been meaning to write some code to this for a while. Stealing a thread's stack is a damn good idea!I've made a few tweaks to make the exception handling more robust. Can post here if anyone's interested. |
|