pike.git / src / threads.c

version» Context lines:

pike.git/src/threads.c:1:   #include "global.h" - RCSID("$Id: threads.c,v 1.10 1996/11/14 01:36:32 hubbe Exp $"); + RCSID("$Id: threads.c,v 1.11 1996/11/17 01:57:49 hubbe Exp $");      int num_threads = 1;   int threads_disabled = 0;      #ifdef _REENTRANT   #include "threads.h"   #include "array.h"   #include "object.h"   #include "macros.h"   #include "callback.h"
pike.git/src/threads.c:18:   struct program *mutex_key = 0;   struct program *thread_id_prog = 0;   pthread_attr_t pattr;      struct thread_starter   {    struct object *id;    struct array *args;   };    - static void check_threads(struct callback *cb, void *arg) + static void check_threads(struct callback *cb, void *arg, void * arg2)   {    THREADS_ALLOW();       /* Allow other threads to run */       THREADS_DISALLOW();   }      void *new_thread_func(void * data)   {