home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os9 / 1165 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  958 b 

  1. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!jvnc.net!netnews.upenn.edu!ginger.biophys.upenn.edu!mark
  2. From: mark@ginger.biophys.upenn.edu (Mark Elliott)
  3. Newsgroups: comp.os.os9
  4. Subject: HELP on Monitoring forked child processes
  5. Keywords: child fork wait
  6. Message-ID: <87099@netnews.upenn.edu>
  7. Date: 26 Aug 92 18:03:31 GMT
  8. Sender: news@netnews.upenn.edu
  9. Lines: 18
  10. Nntp-Posting-Host: ginger.biophys.upenn.edu
  11.  
  12.  
  13.     I am writing an OS-9 application that forks a child process from time
  14. to time and wants to monitor it's progress (but does not want to wait() for it).
  15. How can I tell a) if it's alive b) what state it's in?
  16.     I have looked at _get_process_state() but the values of the procid
  17. structure entries are unknown to me. Do I want "procid._state"? What are the
  18. values corresponding to WAIT, EXECUTE, SWAPPED_OUT, etc...?
  19.  
  20.     Thanks to any and all respondents.
  21.  
  22. Mark Elliott
  23. OS-9 Newcomer
  24. University of Pennsylvania
  25. mark@ginger.biophys.upenn.edu
  26.  
  27.  
  28.  
  29.  
  30.