On Sun, Jan 29, 2012 at 01:41:41PM +0100, Emmanuel Dreyfus wrote: > What way do we have to detect parent termination? Linux has a handy but > non standard prctl(PR_SET_PDEATHSIG, SIGHUP), do we have something > similar? You can use EVFILT_PROC with NOTE_EXIT for this purpose. Joerg