[Stackless] Proposed modification WRT threading and scheduling

Richard Tew richard.m.tew at gmail.com
Tue Apr 29 02:01:15 CEST 2008


On Wed, Apr 2, 2008 at 8:19 PM, Richard Tew <richard.m.tew at gmail.com> wrote:
>  I have applied Kristjan's patch to the release25-maint branch:
>  http://svn.python.org/view?rev=62120&view=rev
>
>  We have changed the default behaviour so that the thread blocking is
>  not used unless you pass the argument to enable it when you run the
>  watchdog.
>
>  e.g. stackless.run(threadblocking=True)

Hmm.  We have changed behaviour in a way which is perhaps not good.

Type this in the interpreter:
import stackless
c = stackless.channel()
c.receive()

This immediately exits.  I discovered this because my a hobby project
was not working any more and eventually tracked it down to this.

Cheers,
Richard.




More information about the Stackless mailing list