pike.git / src / threads.h

version» Context lines:

pike.git/src/threads.h:1:   /* -  * $Id: threads.h,v 1.113 2001/04/07 07:38:26 hubbe Exp $ +  * $Id: threads.h,v 1.114 2001/04/14 09:44:21 hubbe Exp $    */   #ifndef THREADS_H   #define THREADS_H      #include "machine.h"   #include "object.h"   #include "pike_error.h"   #include "interpret.h"   #include "pike_threadlib.h"    -  + #ifdef PIKE_THREADS      PMOD_EXPORT extern COND_T live_threads_change; /* Used by _disable_threads */   PMOD_EXPORT extern COND_T threads_disabled_change; /* Used by _disable_threads */      struct svalue;   struct pike_frame;      extern PIKE_MUTEX_T interleave_lock;      struct interleave_mutex
pike.git/src/threads.h:58:    char status;    COND_T status_change;    THREAD_T id;    struct mapping *thread_local;    struct thread_state *hashlink, **backlink;   #ifdef PROFILING    long long time_base;   #endif /* PROFILING */   };    - #ifdef PIKE_THREADS +       /* Prototypes begin here */   int low_nt_create_thread(unsigned Pike_stack_size,    unsigned (TH_STDCALL *func)(void *),    void *arg,    unsigned *id);   struct thread_starter;   struct thread_local;   void low_init_threads_disable(void);   void init_threads_disable(struct object *o);