[Stackless] Mixing os threads and stackless

Johan Carlsson johanc at easypublisher.com
Wed Apr 26 15:01:42 CEST 2006


Lloyd Weehuizen wrote:
> Johan Carlsson wrote:
> 
>>> 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?
> 
> 
> 
> _______________________________________________
> Stackless mailing list
> Stackless at stackless.com
> http://www.stackless.com/mailman/listinfo/stackless


-- 

Johan Carlsson
Colliberty
Torsgatan 72
113 37 Stockholm

tel: +46-8-31 24 94
mob: +46-70-558 25 24
mail: johanc at easypublisher.com
web: http://www.easypublisher.com

Base Ad:
http://basecamphq.com/?referrer=colliberty
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
http://www.stackless.com/mailman/listinfo/stackless



More information about the Stackless mailing list