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