pike.git / src / threads.h

version» Context lines:

pike.git/src/threads.h:1:   /* -  * $Id: threads.h,v 1.69 1999/08/30 06:23:51 hubbe Exp $ +  * $Id: threads.h,v 1.70 1999/09/06 11:13:23 hubbe 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:579:   void f_thread_local_set(INT32 args);   void low_th_init(void);   void th_init(void);   void th_cleanup(void);   int th_num_idle_farmers(void);   int th_num_farmers();   void th_farm(void (*fun)(void *), void *here);   /* Prototypes end here */      #else +  + #define th_atfork(X,Y,Z) + #define th_atfork_prepare() + #define th_atfork_parent() + #define th_atfork_child() +    #define th_setconcurrency(X)   #define DEFINE_MUTEX(X)   #define DEFINE_IMUTEX(X)   #define init_interleave_mutex(X)   #define LOCK_IMUTEX(X)   #define UNLOCK_IMUTEX(X)   #define mt_init(X)   #define mt_lock(X)   #define mt_unlock(X)   #define mt_destroy(X)