GIL release

Pierre Barbier de Reuille pierre.barbier at cirad.fr
Fri Mar 18 10:30:34 EST 2005


Do you mean in Python or in C ?

In C this is described in details in the documentation. In Python, I 
don't think there is a way ! If you want to do so you'll want to use a 
micro sleep ...

Pierre

Alastair Basden a écrit :
> Hi,
> Does anyone know whether there is a way for a python thread to release 
> the global interpreter lock, and let all other threads have a chance at 
> running before re-acquiring it?  Does the thread scheduling follow a 
> round-robin method?
> 
> Thanks,
> agb.



More information about the Python-list mailing list