No subject


Fri Apr 25 00:35:21 CEST 2008


tasklet blocked on a channel while having the ability
to perform actions on other channels it possesses.

>and how hard stackless is to program in.

Depends on what you are programming. For better or
worse, what I programme and probably my programming
style brings me face-to-face with this stuff

> Can you explain "non-pre-emption" 

In the context of Stackless, a tasklet cannot be
interrupted once it is scheduled.

>and "mutual exclusion"?

A single tasklet has exclusive access to a resource.

> And how does that hold-and-wait example become a
> deadlock?

Ihahe, if you can read the thread "Scheduling
Examples" from December 2005.

"http://www.stackless.com/pipermail/stackless/2005-December/000290.html

Asgeir Ingvarsson correctly diagnosed the problem. The
only thing I can add is that wait-for graphs can come
in handy for determining dependencies.

I have another variation in the paper "Adventures in
Stackless Python Twisted Integration." However I think
the precedence graph example is more common than the
Twisted example which is esoteric.

> Is it easy to avoid all of the deadlock conditions?

I can't say that I have found fool-proof techniques. 

Cheers,
Andrew



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ



More information about the Stackless mailing list