pike.git / src / threads.h

version» Context lines:

pike.git/src/threads.h:1:   /* -  * $Id: threads.h,v 1.45 1998/07/10 15:52:08 grubba Exp $ +  * $Id: threads.h,v 1.46 1998/07/17 13:29:16 grubba 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 */
pike.git/src/threads.h:470:   void th_farm(void (*fun)(void *), void *);   void th_init(void);   void low_th_init(void);   void th_cleanup(void);   void thread_table_insert(struct object *o);   void thread_table_delete(struct object *o);   struct thread_state *thread_state_for_id(THREAD_T tid);   struct object *thread_for_id(THREAD_T tid);   void f_all_threads(INT32 args);    + void low_init_threads_disable(void);   void init_threads_disable(struct object *o);   void exit_threads_disable(struct object *o);      void init_interleave_mutex(IMUTEX_T *im);   void exit_interleave_mutex(IMUTEX_T *im);      /* Prototypes end here */      #else   #define th_setconcurrency(X)
pike.git/src/threads.h:503:   #define HIDE_GLOBAL_VARIABLES()   #define REVEAL_GLOBAL_VARIABLES()   #define th_init()   #define low_th_init()   #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 */      #ifdef __NT__   #ifndef DEBUG   #define CheckValidHandle(X) 0   #else   void CheckValidHandle(HANDLE h);   #endif   #endif      extern int threads_disabled;      #endif /* THREADS_H */