freebsd-dev/sys/dev/syscons
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
..
apm
blank
daemon
fade
fire
green
logo Drive-by stylification + reintroduce set_border(). 2001-11-06 02:38:09 +00:00
rain More drive-by stylification, and some clarifications 2001-11-06 03:28:21 +00:00
snake
star
warp More drive-by stylification 2001-11-06 02:40:09 +00:00
scgfbrndr.c Spell #if 0 correctly 2002-02-14 22:29:03 +00:00
schistory.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
scmouse.c In the word selection mode don't append newline if the word ends at the 2002-01-05 16:52:44 +00:00
scterm-dumb.c
scterm-sc.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
scterm.c With this commit, I hereby pronounce gensetdefs past its use-by date. 2001-06-13 10:58:39 +00:00
sctermvar.h Fix off by one error for ESC[1J. 2001-07-20 14:08:12 +00:00
scvesactl.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
scvgarndr.c Refine cursor type/shape control escape sequences and 2001-08-02 08:30:40 +00:00
scvidctl.c Lock struct pgrp, session and sigio. 2002-02-23 11:12:57 +00:00
scvtb.c Don't free buffers we didn't allocate. 2001-06-29 08:24:56 +00:00
syscons.c Some fix for the recent apm module changes. 2001-11-01 16:34:07 +00:00
syscons.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
sysmouse.c KSE Milestone 2 2001-09-12 08:38:13 +00:00