pike.git / src / threads.c

version» Context lines:

pike.git/src/threads.c:1:   #include "global.h" - RCSID("$Id: threads.c,v 1.96 1999/05/12 04:45:58 hubbe Exp $"); + RCSID("$Id: threads.c,v 1.97 1999/05/13 17:43:37 grubba Exp $");      int num_threads = 1;   int threads_disabled = 0;      #ifdef _REENTRANT   #include "threads.h"   #include "array.h"   #include "mapping.h"   #include "object.h"   #include "pike_macros.h"   #include "callback.h"   #include "builtin_functions.h"   #include "constants.h"   #include "program.h"   #include "gc.h"   #include "main.h"   #include "module_support.h"    -  + #include <errno.h> +    int live_threads = 0;   COND_T live_threads_change;   COND_T threads_disabled_change;   size_t thread_stack_size=1024 * 1204;      #ifdef __NT__      int low_nt_create_thread(unsigned stack_size,    unsigned (TH_STDCALL *fun)(void *),    void *arg,