[Openmcl-devel] Coroutines/lightweight threads
alex.mizrahi at gmail.com
Thu Nov 15 09:16:01 UTC 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