What is a process group

Chris Torek chris at mimsy.umd.edu
Fri Oct 20 08:23:12 AEST 1989


In article <1158 at msa3b.UUCP> kevin at msa3b.UUCP (Kevin P. Kleinfelter) writes:
>What is a process group?

The short answer is `something you should not use unless you know what it
is' :-)

>I know the following things:
>
>	You can make a process the process group leader via setpgrp();
>	   (with some versions of UNIX)

(SysV)

>	You can send a signal to all members of a process group

Tty signals go to process groups.  If you want to avoid tty signals you
need to be in a different group, and/or not connected to the tty, and/or
simply ignore the signals (a la `nohup').

The rest of the situation is system-dependent, so that the question cannot
be answered without knowledge as to the specific Unix variant.
-- 
`They were supposed to be green.'
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain:	chris at cs.umd.edu	Path:	uunet!mimsy!chris



More information about the Comp.unix.questions mailing list