pike.git / src / threads.c

version» Context lines:

pike.git/src/threads.c:1:   #include "global.h" - RCSID("$Id: threads.c,v 1.92 1999/04/02 23:23:47 hubbe Exp $"); + RCSID("$Id: threads.c,v 1.93 1999/05/02 08:11:50 hubbe 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"
pike.git/src/threads.c:553:       if(!tmp)    {    num_threads++;    thread_table_insert(arg->id);       if(!threads_evaluator_callback)    {    threads_evaluator_callback=add_to_callback(&evaluator_callbacks,    check_threads, 0,0); +  dmalloc_accept_leak(threads_evaluator_callback);    }    ref_push_object(arg->id);    THREADS_FPRINTF(0, (stderr, "THREAD_CREATE -> t:%08x\n",    (unsigned int)arg->id));    } else {    free_object(arg->id);    free_array(arg->args);    free((char *)arg);    error("Failed to create thread (errno = %d).\n",tmp);    }