Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 1998 19:22:22 +0200 (CEST)
From:      Marino Ladavac <lada@pc8811.gud.siemens.at>
To:        hackers@FreeBSD.ORG
Cc:        lada@pc8811.gud.siemens.co.at
Subject:   ptread library patch
Message-ID:  <XFMail.980430192222.lada@pc8811.gud.siemens.at>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
A smallish patch concerning the priority boost for inactive
runnable threads is attached.

a PR has been submitted.

/Marino
----------------------------------
Marino Ladavac
Date: 30-Apr-98
Time: 19:19:57
----------------------------------

[-- Attachment #2 --]
--- uthread_kern.c	1998/04/30 16:31:53	1.1
+++ uthread_kern.c	1998/04/30 16:34:33
@@ -349,7 +349,7 @@
 				 * the last incremental priority check was
 				 * made: 
 				 */
-				else if (timercmp(&_thread_run->last_inactive, &kern_inc_prio_time, >)) {
+				else if (timercmp(&_thread_run->last_inactive, &kern_inc_prio_time, <)) {
 					/*
 					 * Increment the incremental priority
 					 * for this thread in the hope that

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980430192222.lada>