pike.git / src / threads.h

version» Context lines:

pike.git/src/threads.h:1:   /* -  * $Id: threads.h,v 1.105 2000/10/26 01:34:51 hubbe Exp $ +  * $Id: threads.h,v 1.106 2000/12/01 01:15:03 hubbe Exp $    */   #ifndef THREADS_H   #define THREADS_H      #include "machine.h"   #include "object.h"   #include "error.h"   #include "interpret.h"      /* Needed for the sigset_t typedef, which is needed for
pike.git/src/threads.h:685: Inside #if defined(__NT__) and #if undefined(PIKE_DEBUG)
  #ifdef __NT__   #ifndef PIKE_DEBUG   #define CheckValidHandle(X) (X)   #else   HANDLE CheckValidHandle(HANDLE h);   #endif   #endif      extern int threads_disabled;   extern ptrdiff_t thread_storage_offset; + extern struct program *thread_id_prog;      #ifndef NO_PIKE_SHORTHAND   #define MUTEX_T PIKE_MUTEX_T   #endif         /* Initializer macros for static mutex and condition variables */   #ifdef PTHREAD_MUTEX_INITIALIZER   #define STATIC_MUTEX_INIT = PTHREAD_MUTEX_INITIALIZER   #else