[Stackless] unpickling blocked tasklets
Andrés Tremols
andtretug at gmail.com
Fri Jan 30 13:49:50 CET 2009
Alright, answering myself.. I found that set_atomic(True) can make blocked
tasklets run after unpickling. Wonder what would be the optimal way use it
as probably it involves a performance penalty.
2009/1/30 Andrés Tremols <andtretug at gmail.com>
> Hello,
> After experimenting for a while with stackless I found that I can't insert
> back into the scheduler tasklets that were blocked at the moment of
> pickling, I wonder if there is a way around this restriction as for my
> purposes I need the network of running tasklets to be restored (unpickled)
> even if some of them are blocked. Any ideas welcome.
>
> Regards,
>
> Andrés
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stackless.com/pipermail/stackless/attachments/20090130/696d25f1/attachment.htm>
More information about the Stackless
mailing list