[issue11618] Locks broken wrt timeouts on Windows

sbt report at bugs.python.org
Sun Mar 20 18:33:41 CET 2011


sbt <shibturn at gmail.com> added the comment:

First stab at a fix.

Gets rid of mutex->thread_id and adds a mutex->timeouts counter.

Does not try to prevent mutex->owned from overflowing.

When no timeouts have occurred I don't think it changes behaviour, and it uses the same number of Interlocked functions.

----------
keywords: +patch
Added file: http://bugs.python.org/file21306/locktimeout.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11618>
_______________________________________


More information about the Python-bugs-list mailing list