Lines Matching refs:pthread
655 dnl We used to check for pthread.h first, but this fails if pthread.h
685 dnl which indicates that we try without any flags at all, and "pthread-config"
688 …ags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -m…
696 dnl -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
697 dnl -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
698 dnl lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
699 dnl -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
706 dnl pthread: Linux, etcetera
708 dnl pthread-config: use pthread-config program (for GNU Pth library)
721 ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
725 ax_pthread_flags="-pthread $ax_pthread_flags"
742 pthread-config)
743 AC_CHECK_PROG(ax_pthread_config, pthread-config, yes, no)
745 PTHREAD_CFLAGS="`pthread-config --cflags`"
746 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
760 dnl Check for various functions. We must include pthread.h,
766 dnl pthread_cleanup_push because it is one of the few pthread
769 AC_TRY_LINK([#include <pthread.h>
801 AC_MSG_CHECKING([for joinable pthread attribute])
804 AC_TRY_LINK([#include <pthread.h>], [int attr=$attr; return attr;],