Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!lll-winken!lll-crg.llnl.gov From: booloo@lll-crg.llnl.gov (Mark Boolootian) Newsgroups: comp.unix.questions Subject: How can a child learn of its parents termination? Message-ID: <94559@lll-winken.LLNL.GOV> Date: 3 Apr 91 19:09:00 GMT Sender: usenet@lll-winken.LLNL.GOV Organization: Lawrence Livermore National Laboratory Lines: 14 Nntp-Posting-Host: lll-crg.llnl.gov The subject pretty much says it all: Is it possible for a child to receive notification of its parent's termination? One possibility would be to check the parent process id from time to time but this won't help me. I have a child sleeping on a semaphore, normally awakened by the parent. If the parent terminates, the child is going to sleep forever. I need some way of waking the child up upon parent's death so that the child may exit. Any ideas? Thanks in advance. I'd prefer email responses but I'll be extremely happy with any answer no matter how I get it... mb booloo@lll-crg.llnl.gov