ksched.c (76078) | ksched.c (76166) |
---|---|
1/* 2 * Copyright (c) 1996, 1997 3 * HD Associates, Inc. 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 --- 15 unchanged lines hidden (view full) --- 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * | 1/* 2 * Copyright (c) 1996, 1997 3 * HD Associates, Inc. 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 --- 15 unchanged lines hidden (view full) --- 24 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30 * SUCH DAMAGE. 31 * |
32 * $FreeBSD: head/sys/kern/ksched.c 76078 2001-04-27 19:28:25Z jhb $ | 32 * $FreeBSD: head/sys/kern/ksched.c 76166 2001-05-01 08:13:21Z markm $ |
33 */ 34 35/* ksched: Soft real time scheduling based on "rtprio". 36 */ 37 38#include <sys/param.h> 39#include <sys/systm.h> | 33 */ 34 35/* ksched: Soft real time scheduling based on "rtprio". 36 */ 37 38#include <sys/param.h> 39#include <sys/systm.h> |
40#include <sys/proc.h> | 40#include <sys/lock.h> |
41#include <sys/mutex.h> | 41#include <sys/mutex.h> |
42#include <sys/proc.h> |
|
42#include <sys/resource.h> 43 44#include <posix4/posix4.h> 45 46/* ksched: Real-time extension to support POSIX priority scheduling. 47 */ 48 49struct ksched { --- 225 unchanged lines hidden --- | 43#include <sys/resource.h> 44 45#include <posix4/posix4.h> 46 47/* ksched: Real-time extension to support POSIX priority scheduling. 48 */ 49 50struct ksched { --- 225 unchanged lines hidden --- |