Le jeudi 30 décembre 2010 à 17:05 +0100, "Martin v. Löwis" a écrit :
> > I really don't think it is our job to maintain a list of OS/versions
> > which work and don't work.
> 
> Of course not. I would propose a dynamic test: check how many POSIX
> semaphores the installation supports, and fail if it's less than
> 200 (say).

I added informations about FreeBSD, NetBSD, Darwin and OpenBSD to the
issue #10348:
http://bugs.python.org/issue10348#msg125042

The maximum number of POSIX semaphores can be read with sysctl:
 - FreeBSD: "p1003_1b.sem_nsems_max"
 - NetBSD: "kern.posix.semmax"
 - Darwin: "kern.posix.sem.max"
 - OpenBSD: (no support)

Victor

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to