pike.git / src / threads.h

version» Context lines:

pike.git/src/threads.h:1:   /* -  * $Id: threads.h,v 1.67 1999/05/12 04:45:59 hubbe Exp $ +  * $Id: threads.h,v 1.68 1999/08/10 00:19:00 mast Exp $    */   #ifndef THREADS_H   #define THREADS_H      #include "machine.h"   #include "interpret.h"   #include "object.h"   #include "error.h"   #ifdef HAVE_SYS_TYPES_H   /* Needed for pthread_t on OSF/1 */   #include <sys/types.h>   #endif /* HAVE_SYS_TYPES_H */ - #ifdef _REENTRANT + #ifdef PIKE_THREADS      /*    * Decide which type of threads to use    *    * UNIX_THREADS : Unix international threads    * POSIX_THREADS : POSIX standard threads    * SGI_SPROC_THREADS : SGI sproc() based threads    * NT_THREADS : NT threads    */   
pike.git/src/threads.h:596:   #define th_cleanup()   #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)    - #endif /* _REENTRANT */ + #endif /* PIKE_THREADS */      #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;      #endif /* THREADS_H */