home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!mcsun!sunic!ugle.unit.no!alf.uib.no!alf.uib.no!singg
- From: singg@alf.uib.no (Kurt George Gjerde)
- Subject: Wait for child
- Message-ID: <1992Nov16.122725.15971@alf.uib.no>
- Sender: usenet@alf.uib.no (Bergen University Newsaccount)
- Organization: University of Bergen, Norway
- Date: Mon, 16 Nov 92 12:27:25 GMT
- Lines: 17
-
-
- On Unix, how can I have a process wait for it's child process to do something
- (not terminate).
-
- I've tried using sigpause (couldn't find pause) in the parent process, and
- having the child to send SIGCONT, but that didn't work...
-
- Any ideas?
-
-
-
- ( Right now it works with the parent constantly checking the existance of a
- file. When the child removes the temp-file, the parent continues...
- THIS SLOWS DOWN THE SYSTEM! )
-
- K.
-
-