pike.git / src / threads.c

version» Context lines:

pike.git/src/threads.c:1:   #include "global.h" - RCSID("$Id: threads.c,v 1.142 2000/11/06 16:46:42 mast Exp $"); + RCSID("$Id: threads.c,v 1.143 2000/11/06 17:03:32 grubba 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:626:    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); +  pike_do_exit(throw_value.u.integer);    }    } else {    INT32 args=arg.args->size;    back.severity=THROW_EXIT;    push_array_items(arg.args);    arg.args=0;    f_call_function(args);       /* copy return value to the Pike_interpreter.thread_id here */    object_low_set_index(Pike_interpreter.thread_id,