[Stackless] Pickling tasklets
Gustavo Niemeyer
niemeyer at conectiva.com
Thu Aug 28 17:03:56 CEST 2003
Hi everyone!
I've just checked out the current CVS HEAD, and I was testing some
stackless concepts. Now, I've got in trouble trying to pickle a
tasklet. I've done a quick test with a function like this:
def f():
print "Entering f()"
stackless.schedule()
print "Leaving f()"
Pickling the tasklet just after it scheduled back to the main
tasklet. Then, I was able to dump and load it, but after loading it
the tasklet is blocked.
I'm sure it's a problem in my understanding of the process. Can
someone please clarify how this really works?
Thanks!
--
Gustavo Niemeyer
http://niemeyer.net
_______________________________________________
Stackless mailing list
Stackless at www.tismer.com
http://www.tismer.com/mailman/listinfo/stackless
More information about the Stackless
mailing list