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

  1. Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!beirut.berkeley.edu!kientzle
  2. From: kientzle@beirut.berkeley.edu (Tim Kientzle)
  3. Newsgroups: comp.os.os9
  4. Subject: Re: HELP on Monitoring forked child processes
  5. Date: 26 Aug 1992 22:47:10 GMT
  6. Organization: University of California, Berkeley
  7. Lines: 22
  8. Message-ID: <17h1leINNci0@agate.berkeley.edu>
  9. References: <87099@netnews.upenn.edu>
  10. NNTP-Posting-Host: beirut.berkeley.edu
  11. Keywords: child fork wait
  12.  
  13. In article <87099@netnews.upenn.edu> mark@ginger.biophys.upenn.edu (Mark Elliott) writes:
  14. >
  15. >    I am writing an OS-9 application that forks a child process
  16. >from time to time and wants to monitor it's progress...
  17.  
  18.    The _get_process_desc() call returns a procid structure.  This
  19. structure is defined in "/dd/defs/procid.h", and "/dd/defs/process.a"
  20. has assembly language definitions for the same structure.  The
  21. latter file also gives the following information:
  22.    The "state" byte is bitmapped.
  23.       Bit 7:  System State
  24.       Bit 6:  Timed sleep
  25.       Bit 5:  Time slice expired
  26.       Bit 4:  Image Change (MMU protection map has changed)
  27.       Bit 3:  Unused
  28.       Bit 2:  Unused
  29.       Bit 1:  Condemned
  30.       Bit 0:  Dead
  31.  
  32.                     - Tim Kientzle
  33.  
  34.  
  35.