kern_proc.c (3098) | kern_proc.c (3291) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)kern_proc.c 8.4 (Berkeley) 1/4/94 | 1/* 2 * Copyright (c) 1982, 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)kern_proc.c 8.4 (Berkeley) 1/4/94 |
34 * $Id: kern_proc.c,v 1.5 1994/09/01 05:12:39 davidg Exp $ | 34 * $Id: kern_proc.c,v 1.6 1994/09/25 19:33:41 phk Exp $ |
35 */ 36 37#include <sys/param.h> 38#include <sys/systm.h> 39#include <sys/map.h> 40#include <sys/kernel.h> 41#include <sys/proc.h> 42#include <sys/buf.h> --- 5 unchanged lines hidden (view full) --- 48#include <sys/malloc.h> 49#include <sys/mbuf.h> 50#include <sys/ioctl.h> 51#include <sys/tty.h> 52#include <sys/signalvar.h> 53 54struct prochd qs[NQS]; /* as good a place as any... */ 55struct prochd rtqs[NQS]; /* Space for REALTIME queues too */ | 35 */ 36 37#include <sys/param.h> 38#include <sys/systm.h> 39#include <sys/map.h> 40#include <sys/kernel.h> 41#include <sys/proc.h> 42#include <sys/buf.h> --- 5 unchanged lines hidden (view full) --- 48#include <sys/malloc.h> 49#include <sys/mbuf.h> 50#include <sys/ioctl.h> 51#include <sys/tty.h> 52#include <sys/signalvar.h> 53 54struct prochd qs[NQS]; /* as good a place as any... */ 55struct prochd rtqs[NQS]; /* Space for REALTIME queues too */ |
56struct prochd idqs[NQS]; /* Space for IDLE queues too */ |
|
56 57volatile struct proc *allproc; /* all processes */ 58struct proc *zombproc; /* just zombies */ 59 60void pgdelete __P((struct pgrp *)); 61void fixjobc __P((struct proc *, struct pgrp *, int)); 62 63/* --- 355 unchanged lines hidden --- | 57 58volatile struct proc *allproc; /* all processes */ 59struct proc *zombproc; /* just zombies */ 60 61void pgdelete __P((struct pgrp *)); 62void fixjobc __P((struct proc *, struct pgrp *, int)); 63 64/* --- 355 unchanged lines hidden --- |