Differences between version 7 and previous revision of ProcessGroup.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 7 | Last edited on Tuesday, September 4, 2007 1:02:43 pm | by BenStaz | Revert |
Older page: | version 6 | Last edited on Tuesday, January 2, 2007 10:11:03 pm | by LawrenceDoliveiro | Revert |
@@ -1,4 +1,6 @@
+A Process group is a collection of related processes. One important feature is that it is possible to send a signal to every process in the group. Typically when the shell creates a process to run an application, the process is placed into a new process group. As that application forks new processes, the processes are all members of the process group.
+
Process groups are used for distribution of signals, and by terminals to arbitrate requests for their input and output: Processes that have the same process group as the terminal are foreground and may read, while others will block with a signal if they attempt to read. These calls are thus used by programs such as csh(1) to create process groups in implementing job control. The [TIOCGPGRP] and [TIOCSPGRP] calls described in termios(4) are used to get/set the process group of the control terminal.
If a ProcessGroup has a ControllingTerminal, [CLOCAL] is not set and a hangup occurs, then the ProcessGroup is sent a [SIGHUP].