[Stackless] scheduler?

Bob Ippolito bob at redivi.com
Thu Jan 29 07:02:55 CET 2004


On Jan 28, 2004, at 3:00 PM, Christian Tismer wrote:

> stacklesspython at dfackrell.mailshell.com wrote:
>
>>> From Christian Tismer <tismer at stackless.com> on 23 Jan 2004:
>>> Bob Ippolito wrote:
>>>
>>>
>>>> I see the scheduler doesn't have any methods, is it deprecated or 
>>>> unfinished?
>>>
>>> It is unfinished, and since I while I think to deprecate it.
>>> But it depends. The idea was to do a quite general
>>> definition of what a scheduler should do, and to implement
>>> them through it.
>>> The "normal" scheduling operatiosn would then be the default
>>> implementations found in the scheduler.
>>> Unfortunately, I didn't get enough input yet, neither to
>>> finish the scheduler, not to deprecate it.
>> Christian,
>> Exactly what sort of input are you seeking?  Preferences for
>> how to juggle tasklets of varying priorities?  Types of
>> interfaces into the scheduler?  Built-in events that would
>> cause a tasklet to be scheduled?
>
> Yes, all of that. Also discussion of the existing functions,
> how they make sense and how they don't. I don't want
> to blur Stackless with all kinds of stuff, but provide the
> necessary basis to implement things upon, with time critical
> things implemented in C.
> But I need other people's thoughts on how to proceed.

I would personally like to have sub-watchdogs.  For example, if I have 
a group of tasklets A and a group of tasklets B, I would like the 
capability to run ONLY tasklets in group A (and whatever tasklets they 
cause to be run directly), while still maintaining the ability to 
interrupt if the process takes too long (basically so I can time slice 
separate "processes" that need exclusive access to the same resource, 
in this particular case it's sys.stdin/stdout/stderr).

I'm not sure if this is possible with tasklet.insert()/tasklet.remove() 
games.. as I haven't tried that yet.

-bob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2357 bytes
Desc: not available
URL: <http://www.stackless.com/pipermail/stackless/attachments/20040129/e5ac9ab3/attachment.bin>
-------------- next part --------------
_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless


More information about the Stackless mailing list