[Stackless] unpickling blocked tasklets
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>
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Stackless