[issue11618] Locks broken wrt timeouts on Windows
Antoine Pitrou
report at bugs.python.org
Sun Mar 20 21:11:43 CET 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
> > At that time, the Pythread_* functions were still in use by the GIL
> > implementation, and it made a difference judging by the commit message.
>
> Hmm. And if some application uses thread.lock heavily, won't it still
> make a difference?
An acquire/release pair is less than one microsecond here. Compared to
the evaluation overhead of Python code, it seems not very significant.
That said, if someone can guarantee than the complex approach is
correct, why not.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11618>
_______________________________________
More information about the Python-bugs-list
mailing list