STINNER Victor <victor.stin...@haypocalc.com> 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 <rep...@bugs.python.org>
<http://bugs.python.org/issue12156>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to