mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +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
13 lines
319 B
Plaintext
13 lines
319 B
Plaintext
--- configure.orig 2009-03-12 14:16:24.000000000 +0000
|
|
+++ configure 2009-03-12 14:17:16.000000000 +0000
|
|
@@ -5230,6 +5230,9 @@
|
|
CC="$ac_save_cc"
|
|
fi
|
|
|
|
+# XXX Explicitly disable system pthread libraries.
|
|
+ac_cv_pthread=no
|
|
+
|
|
{ echo "$as_me:$LINENO: result: $ac_cv_pthread" >&5
|
|
echo "${ECHO_T}$ac_cv_pthread" >&6; }
|
|
fi
|