Message147953
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 |
|
Date |
User |
Action |
Args |
2011-11-19 16:46:26 | vstinner | set | recipients:
+ vstinner, pitrou, neologix |
2011-11-19 16:46:26 | vstinner | set | messageid: <1321721186.73.0.828428478109.issue12156@psf.upfronthosting.co.za> |
2011-11-19 16:46:26 | vstinner | link | issue12156 messages |
2011-11-19 16:46:26 | vstinner | create | |
|