[Python-Dev] Issue #10348: concurrent.futures doesn't work on BSD
"Martin v. Löwis"
martin at v.loewis.de
Thu Dec 30 23:19:00 CET 2010
> BTW - can anyone contribute data points from other *BSDs?
I don't have an installation of OpenBSD, but...
In FreeBSD, POSIX semaphores are implemented in sys/kern/uipc_sem.c.
that file doesn't exist. Also, in FreeBSD's limits.h,
_POSIX_SEM_NSEMS_MAX is defined (surprisingly to 256);
this constant doesn't appear. So ISTM that OpenBSD doesn't implement
POSIX semaphores. IIUC, this means that the multiprocessing module
won't be fully functional, and its tests (and the concurrent.futures
tests) will be skipped.
NetBSD apparently supports sem_open since 2.0:
SEM_MAX is 128 since 2007, and dynamically adjustable (no reboot).
More information about the Python-Dev