freebsd-skq/sys/i386
Seigo Tanimura f591779bb5 Lock struct pgrp, session and sigio.
New locks are:

- pgrpsess_lock which locks the whole pgrps and sessions,
- pg_mtx which protects the pgrp members, and
- s_mtx which protects the session members.

Please refer to sys/proc.h for the coverage of these locks.

Changes on the pgrp/session interface:

- pgfind() needs the pgrpsess_lock held.

- The caller of enterpgrp() is responsible to allocate a new pgrp and
  session.

- Call enterthispgrp() in order to enter an existing pgrp.

- pgsignal() requires a pgrp lock held.

Reviewed by:	jhb, alfred
Tested on:	cvsup.jp.FreeBSD.org
		(which is a quad-CPU machine running -current)
2002-02-23 11:12:57 +00:00
..
acpica Fix typo in function name. 2002-01-10 03:26:46 +00:00
apm Some fix for the recent apm module changes. 2001-11-01 16:34:07 +00:00
bios Some fix for the recent apm module changes. 2001-11-01 16:34:07 +00:00
compile Don't need the .keep_me files. Obrien and I committed past each other. 2001-07-01 23:35:44 +00:00
conf Correct path to pucdata.c 2002-02-18 15:46:10 +00:00
i386 Add some DIAGNOSTIC code. 2002-02-22 23:58:22 +00:00
ibcs2 Lock struct pgrp, session and sigio. 2002-02-23 11:12:57 +00:00
include Convert p->p_runtime and PCPU(switchtime) to bintime format. 2002-02-22 13:32:01 +00:00
isa Lock struct pgrp, session and sigio. 2002-02-23 11:12:57 +00:00
linux Pre-KSE/M3 commit. 2002-02-07 20:58:47 +00:00
pci The Libretto L series has no $PIR table, but does have a _PIR table. 2002-01-20 03:28:29 +00:00
svr4 Clear the single-step flag for signal handlers. This fixes bogus trace 2002-01-10 11:49:55 +00:00
Makefile Update pathnames for creation of tags file. 2001-12-05 01:23:21 +00:00