This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients neologix, pitrou, vstinner
Date 2011-11-19.16:46:26
SpamBayes Score 4.9797234e-07
Marked as misclassified No
Message-id <1321721186.73.0.828428478109.issue12156@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2011-11-19 16:46:26vstinnersetrecipients: + vstinner, pitrou, neologix
2011-11-19 16:46:26vstinnersetmessageid: <1321721186.73.0.828428478109.issue12156@psf.upfronthosting.co.za>
2011-11-19 16:46:26vstinnerlinkissue12156 messages
2011-11-19 16:46:26vstinnercreate