use_pthreads.cxx 180 B

123456789
  1. #if defined(USE_THREADS_POSIX) && defined(HAVE_PTHREAD_H)
  2. # include <pthread.h>
  3. static int verify_linking_to_pthread_cxx()
  4. {
  5. return static_cast<int>(pthread_self());
  6. }
  7. #endif