[Openmcl-devel] Coroutines/lightweight threads
alex.mizrahi at gmail.com
Thu Nov 15 03:16:01 CST 2012
I'm not sure that having a separate stack for each lightweight thread is
the right solution since it sounds kinda wasteful.
On the other hand, you don't need to CPS-transform all the code, but only
portions of it which do I/O or yield.
So, basically, only top level control and I/O code will be transformed and
the "meat" will stay undisturbed, as fast as usual.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openmcl-devel