Amaury Forgeot d'Arc <[email protected]> added the comment:

> can't we raise a RuntimeError on a deadlock?

Deadlock detection is difficult, and probably impossible if the involved locks 
don't use the same underlying mechanism. (A lock can be a pthread object, a 
file opened with os.O_EXCL, and even a loop that tests some atomic variable)

----------

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue10923>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to