summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_synch.c
diff options
context:
space:
mode:
authordufault <dufault@FreeBSD.org>1998-03-28 11:51:01 +0000
committerdufault <dufault@FreeBSD.org>1998-03-28 11:51:01 +0000
commit8ed0defc6e5c9d291026302e0d45357454484c5d (patch)
tree805e852c0dbabdcdb6254773c9023caa32928e3a /sys/kern/kern_synch.c
parentcd450d67141a2e84500ff624dc9d39c255a7de77 (diff)
downloadFreeBSD-src-8ed0defc6e5c9d291026302e0d45357454484c5d.zip
FreeBSD-src-8ed0defc6e5c9d291026302e0d45357454484c5d.tar.gz
Finish _POSIX_PRIORITY_SCHEDULING. Needs P1003_1B and
_KPOSIX_PRIORITY_SCHEDULING options to work. Changes: Change all "posix4" to "p1003_1b". Misnamed files are left as "posix4" until I'm told if I can simply delete them and add new ones; Add _POSIX_PRIORITY_SCHEDULING system calls for FreeBSD and Linux; Add man pages for _POSIX_PRIORITY_SCHEDULING system calls; Add options to LINT; Minor fixes to P1003_1B code during testing.
Diffstat (limited to 'sys/kern/kern_synch.c')
-rw-r--r--sys/kern/kern_synch.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c
index 46089c7..c0437d5 100644
--- a/sys/kern/kern_synch.c
+++ b/sys/kern/kern_synch.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_synch.c 8.9 (Berkeley) 5/19/95
- * $Id: kern_synch.c,v 1.50 1998/03/11 20:50:42 dufault Exp $
+ * $Id: kern_synch.c,v 1.51 1998/03/28 10:33:06 bde Exp $
*/
#include "opt_ktrace.h"
@@ -105,6 +105,9 @@ static void maybe_resched(struct proc *chk)
struct proc *p = curproc; /* XXX */
/* If the current scheduler is the idle scheduler or
+ * the priority is of the new one is higher then reschedule.
+ */
+ /* If the current scheduler is the idle scheduler or
* the priority of the new one is higher then reschedule.
*/
if (p == 0 ||
OpenPOWER on IntegriCloud