AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
pgroup Struct Reference

A process group: the processes of a job. More...

#include <proc.h>

Data Fields

pid_t pgid
 the group's ID
struct session * session
 its session
struct qnode * session_node
 its node on its session's list
struct queue * procs
 its processes
struct proc * leader
 its leader, the process whose PID is its ID

Detailed Description

A process group: the processes of a job.

Definition at line 56 of file proc.h.

Field Documentation

◆ leader

struct proc* pgroup::leader

its leader, the process whose PID is its ID

Definition at line 70 of file proc.h.

Referenced by proc_setpgid(), and session_new().

◆ pgid

pid_t pgroup::pgid

the group's ID

Definition at line 58 of file proc.h.

Referenced by pid_is_group(), proc_setpgid(), session_new(), signal_send(), sys_setsid(), sys_waitpid(), and tty_ioctl().

◆ procs

struct queue* pgroup::procs

◆ session

struct session* pgroup::session

◆ session_node

struct qnode* pgroup::session_node

its node on its session's list

Definition at line 64 of file proc.h.

Referenced by pgrp_release(), proc_setpgid(), and session_new().


The documentation for this struct was generated from the following file: