NetBSD/sys/compat
bouyer 629150f864 Add the sched_suspend/sched_resume functions, as discussed on tech-kern,
with the following modifications to the initial patch:
- rename SHOLD and P_HOST to SSUSPEND and P_SUSPEND to avoid confusion with
  PHOLD()
- don't deal with SSUSPEND/P_SUSPEND in fork1(), if we come here while
  scheduler is suspended we're forking proc0, which can't have P_SUSPEND set.

sched_suspend() suspends the scheduling of users process, by removing all
processes from the run queues and changing their state from SRUN to
SSUSPEND. Also mark all user process but curproc P_SUSPEND.
When a process has to be put in SRUN and is marked P_SUSPEND, it's placed in
the SSUSPEND state instead.
sched_resume() places all SSUSPEND processes back in SRUN, clear the P_SUSPEND
flag.
2000-08-31 14:36:19 +00:00
..
aout update for changed makesyscalls.master 2000-08-18 19:35:15 +00:00
common Emulation stackgap sanity checks, based partly on fixes from 2000-08-29 14:33:25 +00:00
freebsd update for changed makesyscalls.master 2000-08-18 19:35:15 +00:00
hpux Emulation stackgap sanity checks, based partly on fixes from 2000-08-29 14:33:25 +00:00
ibcs2 Emulation stackgap sanity checks, based partly on fixes from 2000-08-29 14:33:25 +00:00
linux Regen. 2000-08-31 03:49:44 +00:00
m68k4k remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 15:39:24 +00:00
netbsd32 declare struct firm_event32 2000-08-22 03:35:14 +00:00
osf1 splhigh() -> splsched(), and an XXXSMP. 2000-08-21 02:33:04 +00:00
ossaudio Use accurate rounding in conversion between OSS and NetBSD volume values. 2000-08-16 16:14:33 +00:00
pecoff remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 15:39:24 +00:00
sunos update for changed makesyscalls.master 2000-08-18 19:35:15 +00:00
svr4 Add the sched_suspend/sched_resume functions, as discussed on tech-kern, 2000-08-31 14:36:19 +00:00
ultrix update for changed makesyscalls.master 2000-08-18 19:35:15 +00:00
vax1k remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h> 2000-06-28 15:39:24 +00:00
Makefile Don't install includes 1998-10-03 20:30:50 +00:00