pike.git / src / signal_handler.c

version» Context lines:

pike.git/src/signal_handler.c:4280: Inside #if defined(USE_SIGCHILD)
  #ifdef USE_SIGCHILD    if(!signal_evaluator_callback)    {    signal_evaluator_callback=add_to_callback(&evaluator_callbacks,    check_signals,    0,0);    dmalloc_accept_leak(signal_evaluator_callback);    }   #endif    -  o=low_clone(pid_status_program); -  call_c_initializers(o); +  o=fast_clone_object(pid_status_program);    p=get_storage(o,pid_status_program);    p->pid=pid;    p->state=PROCESS_RUNNING;    push_object(o);    push_int(pid);    mapping_insert(pid_mapping,Pike_sp-1, Pike_sp-2);    pop_stack();    }else{   #ifdef _REENTRANT    /* forked copy. there is now only one thread running, this one. */