[Stackless] Questions about the Tasklet _channel attribute
Richard Tew
richard.m.tew at gmail.com
Mon Jul 28 19:44:13 CEST 2008
On Mon, Jul 28, 2008 at 10:33 AM, Andrew Francis <andrewfr_ice at yahoo.com> wrote:
> Why is _channel not writable? Is it owned by the scheduler?
There is no channel set for a tasklet. That variable does the
required processing to track down the channel a tasklet is blocked on
(assuming it is) for the purposes of introspection. It is more a
property, than a variable.
If you want to manipulate blocked tasklets and channels, I think the
pickling API is your only option.
Cheers,
Richard.
More information about the Stackless
mailing list