[Openmcl-devel] Coroutines/lightweight threads

Alex Mizrahi alex.mizrahi at gmail.com
Tue Nov 13 07:45:39 UTC 2012


If I understand correctly the whole point of lightweight threads is that
they are more lightweight than native threads. Thus having 1 native thread
for each 1 lightweight thread kinda defeats the purpose.

I wonder isn't it possible to implement it completely on user level, via
closures, closure-passing-style transformation or something like that.
Then it can work on any implementation, you just need code walker
adaptation and bindings to implementation's native threading/IO.

If you don't implement it on user level then you'd have to vivisect the
whole implementation...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clozure.com/pipermail/openmcl-devel/attachments/20121113/e22fe5ae/attachment.html>


More information about the Openmcl-devel mailing list