pike.git / src / threads.c

version» Context lines:

pike.git/src/threads.c:1:   #include "global.h" - RCSID("$Id: threads.c,v 1.138 2000/08/18 22:28:48 grubba Exp $"); + RCSID("$Id: threads.c,v 1.139 2000/08/24 04:04:42 hubbe Exp $");      PMOD_EXPORT int num_threads = 1;   PMOD_EXPORT 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:616: Inside #if defined(THREAD_TRACE)
   t_flag = default_t_flag;    }   #endif /* THREAD_TRACE */       THREADS_FPRINTF(0, (stderr,"THREAD %08x INITED\n",(unsigned int)Pike_interpreter.thread_id));    if(SETJMP(back))    {    if(throw_severity < THROW_EXIT)    {    ONERROR tmp; +  t_flag=0;    SET_ONERROR(tmp,exit_on_error,"Error in handle_error in master object!");    assign_svalue_no_free(Pike_sp++, & throw_value);    APPLY_MASTER("handle_error", 1);    pop_stack();    UNSET_ONERROR(tmp);    }    if(throw_severity == THROW_EXIT)    {    free((char *) data);    do_exit(throw_value.u.integer);