home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!jvnc.net!netnews.upenn.edu!ginger.biophys.upenn.edu!mark
- From: mark@ginger.biophys.upenn.edu (Mark Elliott)
- Newsgroups: comp.os.os9
- Subject: HELP on Monitoring forked child processes
- Keywords: child fork wait
- Message-ID: <87099@netnews.upenn.edu>
- Date: 26 Aug 92 18:03:31 GMT
- Sender: news@netnews.upenn.edu
- Lines: 18
- Nntp-Posting-Host: ginger.biophys.upenn.edu
-
-
- I am writing an OS-9 application that forks a child process from time
- to time and wants to monitor it's progress (but does not want to wait() for it).
- How can I tell a) if it's alive b) what state it's in?
- I have looked at _get_process_state() but the values of the procid
- structure entries are unknown to me. Do I want "procid._state"? What are the
- values corresponding to WAIT, EXECUTE, SWAPPED_OUT, etc...?
-
- Thanks to any and all respondents.
-
- Mark Elliott
- OS-9 Newcomer
- University of Pennsylvania
- mark@ginger.biophys.upenn.edu
-
-
-
-
-