global interpreter lock not working as it should

anton wilson anton.wilson at camotion.com
Tue Jul 30 17:57:32 EDT 2002


On Tuesday 30 July 2002 04:59 pm, Tim Peters wrote:
> [anton wilson]
>
> > ...
> > What's the purpose of releasing an reaquiring the lock if no
> > other threads can run?
>
> They can, as other responses have amply demonstrated.  Whether they *will*
> is up to the platform thread package, which was presumably designed to pass
> out timeslices in a way maximally efficient for it.  

I think I understand what you mean. I assumed that python should block and 
allow others to work every x byte codes on EVERY platform. I see that that's 
a wrong assumption.




More information about the Python-list mailing list