[Stackless] Re: task.run() versus task.remove().run()

Aaron Watters aaron at reportlab.com
Wed Aug 28 23:26:49 CEST 2002

For my immediate purpose, task.run should return to the "caller" when either
the task finishes or waits on a socket.  If you add a "yeild", then too.

If the runned task calls schedule() directly then all bets are off.

Christian Tismer wrote:

> Aaron Watters wrote:
>> I still would like task.run to always "return" directly to the invoking
>> task.
> How? I mean, when? When the task is really finished? Or when it
> yields? (they will learn to yield, soon).
> Do you think of a thread like "join"? Then this should be the
> name of the function, and it would *block* you until the join
> is done. Is that what you need?

More information about the Stackless mailing list