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.
-- http://mail.python.org/mailman/listinfo/python-list