mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
a95007e208
and also add experimental support for POSIX semaphores in FreeBSD 7-STABLE and up. The option knobs PTH and SEM respectively are added to enable this behaviour. Python is able to use POSIX semaphores for thread synchronization in threading, and prefers them. The multiprocessing module in Python 2.6 requires POSIX semaphores, however, the FreeBSD rtld and malloc need further work to allow a process to call pthread_create() immediately after fork() as it is not something allowed by a strict interpretation of the POSIX specs; therefore allow GNU Pth to be used until the situation is resolved. Approved by: miwi
19 lines
685 B
Plaintext
19 lines
685 B
Plaintext
====
|
|
Note that some of the standard modules are provided as separate
|
|
ports since they require extra dependencies:
|
|
|
|
bsddb databases/py-bsddb
|
|
gdbm databases/py-gdbm
|
|
sqlite3 databases/py-sqlite3
|
|
tkinter x11-toolkits/py-tkinter
|
|
|
|
Install them as needed.
|
|
====
|
|
%%SEM%%--------------------------------------------------------
|
|
%%SEM%%This package was built with the experimental POSIX
|
|
%%SEM%%semaphore support. Please ensure that the kernel on the
|
|
%%SEM%%system where you deploy this package is either compiled
|
|
%%SEM%%with 'option P1003_1B_SEMAPHORES', or has the sem.ko
|
|
%%SEM%%kernel module loaded.
|
|
%%SEM%%--------------------------------------------------------
|