pike.git / src / threads.h

version» Context lines:

pike.git/src/threads.h:1:   /* -  * $Id: threads.h,v 1.76 2000/03/25 20:58:46 hubbe Exp $ +  * $Id: threads.h,v 1.77 2000/03/29 22:08:50 hubbe Exp $    */   #ifndef THREADS_H   #define THREADS_H      #include "machine.h"   #include "interpret.h"   #include "object.h"   #include "error.h"      /* Needed for the sigset_t typedef, which is needed for
pike.git/src/threads.h:32: Inside #if defined(PIKE_THREADS), #if defined(_UNIX_THREADS) and #if defined(HAVE_THREAD_H)
  #ifdef _UNIX_THREADS   #ifdef HAVE_THREAD_H   #define UNIX_THREADS   #include <thread.h>   #undef HAVE_PTHREAD_H   #undef HAVE_THREAD_H   #endif   #endif /* _UNIX_THREADS */      #ifdef _MIT_POSIX_THREADS - #ifdef HAVE_PTHREAD_H +    #define POSIX_THREADS   #include <pthread.h>   #undef HAVE_PTHREAD_H - #endif +    #endif /* _MIT_POSIX_THREADS */      #ifdef _SGI_SPROC_THREADS   /* Not supported yet */   #undef SGI_SPROC_THREADS   #undef HAVE_SPROC   #endif /* _SGI_SPROC_THREADS */         extern int num_threads;