[issue8410] Fix emulated lock to be 'fair'
report at bugs.python.org
Fri Jul 23 18:38:02 CEST 2010
Ronald Oussoren <ronaldoussoren at mac.com> added the comment:
It turns out that posix semaphores aren't supported on OSX.
The patch doesn't apply cleanly anymore, and that is not just because of whitespace issues (the patch contains tabs while the tree no longer does).
The chunk that affects 'PyThread_acquire_lock_timed' doesn't apply even with 'patch -l' (which ignores whitespace).
I'll try to update the patch, but I'm not that well versed in pthread so that might take a while.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list