pike.git / src / threads.h

version» Context lines:

pike.git/src/threads.h:1:   /* -  * $Id: threads.h,v 1.96 2000/07/07 13:19:48 grubba Exp $ +  * $Id: threads.h,v 1.97 2000/07/07 15:36:53 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:50:   #undef HAVE_PTHREAD_H   #endif /* _MIT_POSIX_THREADS */      #ifdef _SGI_SPROC_THREADS   /* Not supported yet */   #undef SGI_SPROC_THREADS   #undef HAVE_SPROC   #endif /* _SGI_SPROC_THREADS */       +  + /* Restore the fp macro. */ + #ifdef FRAMEPOINTER_WAS_DEFINED + #define fp Pike_fp + #undef FRAMEPOINTER_WAS_DEFINED + #endif /* FRAMEPOINTER_WAS_DEFINED */ +  +    extern int num_threads;   extern int live_threads;   struct object;   extern size_t thread_stack_size;      #define DEFINE_MUTEX(X) PIKE_MUTEX_T X         #ifdef POSIX_THREADS   
pike.git/src/threads.h:624:   #define th_init_programs()   #define th_self() ((void*)0)   #define co_signal(X)   #define co_broadcast(X)      #define low_init_threads_disable()   #define init_threads_disable(X)   #define exit_threads_disable(X)       - /* Restore the fp macro. */ - #ifdef FRAMEPOINTER_WAS_DEFINED - #define fp Pike_fp - #undef FRAMEPOINTER_WAS_DEFINED - #endif /* FRAMEPOINTER_WAS_DEFINED */ -  -  +    #endif /* PIKE_THREADS */      #ifndef CHECK_INTERPRETER_LOCK   #define CHECK_INTERPRETER_LOCK() do {} while (0)   #endif      #ifdef __NT__   #ifndef PIKE_DEBUG   #define CheckValidHandle(X) (X)   #else