pike.git / src / threads.h

version» Context lines:

pike.git/src/threads.h:1:   /* -  * $Id: threads.h,v 1.102 2000/08/07 18:44:19 grubba Exp $ +  * $Id: threads.h,v 1.103 2000/08/11 10:46:22 grubba 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:656: Inside #if defined(__NT__)
     #ifdef __NT__   #ifndef PIKE_DEBUG   #define CheckValidHandle(X) (X)   #else   HANDLE CheckValidHandle(HANDLE h);   #endif   #endif      extern int threads_disabled; - extern int thread_storage_offset; + extern ptrdiff_t thread_storage_offset;      #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