STINNER Victor <[email protected]> added the comment:
Testing os.sysconf("SC_SEM_NSEMS_MAX") value is maybe better than creating 30
semaphores. See the function added by the changeset 746143ec1f60 (fixing
#10798) is maybe faster than creating 30 semaphores.
Value on the FreeBSD 7.2 buildbot:
>>> import os
>>> os.sysconf("SC_SEM_NSEMS_MAX")
30
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue12156>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com