From ab20b86639ba0623a32cd8d4b4049b9050c95584 Mon Sep 17 00:00:00 2001 From: jb Date: Thu, 30 Apr 1998 21:50:29 +0000 Subject: Fix the incremental priority increment. PR: bin/6467 Marino Ladavac --- lib/libkse/thread/thr_kern.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libkse') 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 @@ -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 -- cgit v1.1