[Stackless] Mixing os threads and stackless
johanc at easypublisher.com
Wed Apr 26 15:04:12 CEST 2006
Lloyd Weehuizen wrote:
> Johan Carlsson wrote:
>> Lloyd Weehuizen wrote:
>>> Hi Johan
>>> I don't *think* you'd get much advantage with this as the python
>>> global interpreter lock will block all threads while another is
>>> executing so you might as well run a single thread with all your
>>> tasklets in it?
>> Why would the PGIL block all threads?
> Correct me if I'm wrong but afaik the PGIL only allows one thread to be
> executing python code ( or C code called from python that hasn't
> explicitly released the PGIL ) at any one time?
What does "at one time" mean?
113 37 Stockholm
tel: +46-8-31 24 94
mob: +46-70-558 25 24
mail: johanc at easypublisher.com
If your not already using it, start us it NOW.
(and remember to say colliberty when you join up :-)
Stackless mailing list
Stackless at stackless.com
More information about the Stackless