[issue8410] Fix emulated lock to be 'fair'
Ronald Oussoren
report at bugs.python.org
Sun Apr 18 23:04:47 CEST 2010
Ronald Oussoren <ronaldoussoren at mac.com> added the comment:
W.r.t. "This appears to be the case on Mac OS X": OSX 10.4 and later seem to support posix semaphores, the program below prints "yes":
#include <unistd.h>
int main()
{
#ifdef _POSIX_SEMAPHORES
printf("yes\n");
#else
printf("no\n");
#endif
}
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8410>
_______________________________________
More information about the Python-bugs-list
mailing list