freebsd-nq/sys/i386/ibcs2
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
..
coff.h
ibcs2_dirent.h
ibcs2_errno.c
ibcs2_errno.h
ibcs2_fcntl.c Replace ffind_* with fget calls. 2002-01-14 00:13:45 +00:00
ibcs2_fcntl.h
ibcs2_ioctl.c Lock struct pgrp, session and sigio. 2002-02-23 11:12:57 +00:00
ibcs2_ioctl.h
ibcs2_ipc.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
ibcs2_ipc.h
ibcs2_isc_syscall.h Regenerated (fixed the calculation of sy_nargs in sysent tables). 2000-05-09 21:52:02 +00:00
ibcs2_isc_sysent.c Regenerated (fixed the calculation of sy_nargs in sysent tables). 2000-05-09 21:52:02 +00:00
ibcs2_isc.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
ibcs2_misc.c SMP Lock struct file, filedesc and the global file list. 2002-01-13 11:58:06 +00:00
ibcs2_mount.h
ibcs2_msg.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
ibcs2_other.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
ibcs2_poll.h
ibcs2_proto.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
ibcs2_signal.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
ibcs2_signal.h Make MINSIGSTKSZ machine dependent, and have the sigaltstack 2000-11-09 08:25:48 +00:00
ibcs2_socksys.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
ibcs2_socksys.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
ibcs2_stat.c SMP Lock struct file, filedesc and the global file list. 2002-01-13 11:58:06 +00:00
ibcs2_stat.h
ibcs2_statfs.h
ibcs2_stropts.h
ibcs2_syscall.h Regen. (Fix SYS_exit) 2000-07-29 10:07:38 +00:00
ibcs2_sysent.c Regen. (Fix SYS_exit) 2000-07-29 10:07:38 +00:00
ibcs2_sysi86.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
ibcs2_sysvec.c Add missing includes of <sys/sx.h> 2001-03-28 15:04:22 +00:00
ibcs2_termios.h
ibcs2_time.h
ibcs2_types.h
ibcs2_unistd.h
ibcs2_ustat.h
ibcs2_util.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
ibcs2_util.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
ibcs2_utime.h
ibcs2_utsname.h
ibcs2_xenix_syscall.h Regenerated (fixed the calculation of sy_nargs in sysent tables). 2000-05-09 21:52:02 +00:00
ibcs2_xenix_sysent.c Regenerated (fixed the calculation of sy_nargs in sysent tables). 2000-05-09 21:52:02 +00:00
ibcs2_xenix.c KSE Milestone 2 2001-09-12 08:38:13 +00:00
ibcs2_xenix.h KSE Milestone 2 2001-09-12 08:38:13 +00:00
imgact_coff.c Pre-KSE/M3 commit. 2002-02-07 20:58:47 +00:00
Makefile Make the target a little bit more generic. 2000-11-01 08:47:34 +00:00
syscalls.conf
syscalls.isc
syscalls.isc.conf
syscalls.master Synchronize syscalls.master(s) with recent Giant pushdown work 2001-09-01 19:36:48 +00:00
syscalls.xenix
syscalls.xenix.conf