pike.git / NT / tools / sprshd

version» Context lines:

pike.git/NT/tools/sprshd:243:    object p4=p3->pipe();   #else    object p4=p3->pipe(Stdio.PROP_IPC);   #endif    thread_create(my_proxy,io,p4);    io=p3;    }   #endif      #if __VERSION__ >= 0.699999 -  write("Trapping OOB\n"); +     if(io->read_oob)    { -  +  write("Trapping OOB\n");    thread_create(lambda() {    while(1)    {    string tmp=io->read_oob(1);    if(!tmp || !sizeof(tmp)) return;    werror("**Interrupt received, killing child.\n");    p->kill(9);    }    });    }