Kristján Valur Jónsson <krist...@ccpgames.com> added the comment:

Antoine:  Please take a look, the change is really simple, particularly the 
ROUNDROBIN_GIL variant which fixes the originally observed problem.
the GIL is still a lock, implemented using a mutex and a semaphore.  It is 
modified to work exactly as the lock always has done on windows (which is why 
the original problem isn't present on that platform).

The simplicity of the change stems from the fact that the gil is still just a 
mutex-type object, which is aqcuired and released just as it has always been.  
The change is in the internal rules of the mutex, making sure that threads 
queue up properly and (optionally) that they are released in a priority based 
order.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8299>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to