previous | start | next

Process Manager's Process Table Entries

EXTERN struct mproc {
  struct mem_map mp_seg[NR_LOCAL_SEGS]; /* points to text, data, stack
  */
        ...
        pid_t mp_pid;/* process id */
        ...
        pid_t mp_wpid;/* pid this process is waiting for */
        int mp_parent;/* index of parent process */

        ...

  /* Signal handling information. */
        sigset_t mp_ignore;/* a 1 means ignore the signal, 0 means don't
        */
        sigset_t mp_catch;/* a 1 means catch the signal, 0 means don't
        */
        sigset_t mp_sig2mess;/* a 1 means transform into notify message
        */
        sigset_t mp_sigmask;/* signals to be blocked */
        sigset_t mp_sigmask2;/* saved copy of mp_sigmask */
        sigset_t mp_sigpending;/* pending signals to be handled */
        ...
        char mp_name[PROC_NAME_LEN];/* process name */
} mproc[NR_PROCS];

   


previous | start | next