Lines Matching refs:pthread
36 # Also HAVE_PTHREAD_PRIO_INHERIT is defined if pthread is found and the
93 # We used to check for pthread.h first, but this fails if pthread.h
123 # which indicates that we try without any flags at all, and "pthread-config"
126 …ags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -m…
134 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
135 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
136 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
137 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
144 # pthread: Linux, etcetera
146 # pthread-config: use pthread-config program (for GNU Pth library)
159 ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
163 ax_pthread_flags="-pthread $ax_pthread_flags"
194 pthread-config)
195 AC_CHECK_PROG([ax_pthread_config], [pthread-config], [yes], [no])
197 PTHREAD_CFLAGS="`pthread-config --cflags`"
198 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
212 # Check for various functions. We must include pthread.h,
218 # pthread_cleanup_push because it is one of the few pthread
221 AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>
254 AC_MSG_CHECKING([for joinable pthread attribute])
257 AC_LINK_IFELSE([AC_LANG_PROGRAM([#include <pthread.h>],
290 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <pthread.h>]],