summaryrefslogtreecommitdiffstats
path: root/lib/libkse
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-04-30 21:50:29 +0000
committerjb <jb@FreeBSD.org>1998-04-30 21:50:29 +0000
commitab20b86639ba0623a32cd8d4b4049b9050c95584 (patch)
tree6dc5b95e728c71bb9835489ce64b587faa2b25ba /lib/libkse
parentee66bf4cbc1131a1056f50baa0deb7596f939ade (diff)
downloadFreeBSD-src-ab20b86639ba0623a32cd8d4b4049b9050c95584.zip
FreeBSD-src-ab20b86639ba0623a32cd8d4b4049b9050c95584.tar.gz
Fix the incremental priority increment.
PR: bin/6467 Marino Ladavac <lada@pc8811.gud.siemens.at>
Diffstat (limited to 'lib/libkse')
-rw-r--r--lib/libkse/thread/thr_kern.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libkse/thread/thr_kern.c b/lib/libkse/thread/thr_kern.c
index 36efc31..32d0a76 100644
--- a/lib/libkse/thread/thr_kern.c
+++ b/lib/libkse/thread/thr_kern.c
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: uthread_kern.c,v 1.9 1998/04/17 09:37:41 jb Exp $
+ * $Id: uthread_kern.c,v 1.10 1998/04/29 09:59:02 jb Exp $
*
*/
#include <errno.h>
@@ -321,7 +321,7 @@ __asm__("fnsave %0": :"m"(*fdata));
* 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
OpenPOWER on IntegriCloud