pike.git / src / threads.h

version» Context lines:

pike.git/src/threads.h:88:   void init_mutex_key_obj(struct object *o);   void exit_mutex_key_obj(struct object *o);   void f_cond_wait(INT32 args);   void f_cond_signal(INT32 args);   void f_cond_broadcast(INT32 args);   void init_cond_obj(struct object *o);   void exit_cond_obj(struct object *o);   void th_init_programs();   /* Prototypes end here */    -  +    #else - #define mt_init() - #define mt_lock() - #define mt_unlock() + #define mt_init(X) + #define mt_lock(X) + #define mt_unlock(X)   #define THREADS_ALLOW()   #define THREADS_DISALLOW()   #define th_init()   #define th_init_programs()   #endif    -  +    extern int threads_disabled;   #endif