[Openmcl-devel] Coroutines/lightweight threads

Alex Mizrahi 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...
URL: <http://lists.clozure.com/pipermail/openmcl-devel/attachments/20121115/05340787/attachment.html>


More information about the Openmcl-devel mailing list