summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_priority_queue.c
diff options
context:
space:
mode:
authorJason Evans <jasone@FreeBSD.org>2000-01-19 07:04:50 +0000
committerJason Evans <jasone@FreeBSD.org>2000-01-19 07:04:50 +0000
commit0a3fa43c7e06dfbd6ddde4767d9c8a0c6a2ad51f (patch)
treed60f837da3362893d30d022990c52c439190405b /lib/libpthread/thread/thr_priority_queue.c
parent1c12990b99e0a50adad4fb4691b64378de2f1b12 (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_priority_queue.c')
-rw-r--r--lib/libpthread/thread/thr_priority_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_priority_queue.c b/lib/libpthread/thread/thr_priority_queue.c
index 6fdf844ac8af7..1b9fcba095739 100644
--- a/lib/libpthread/thread/thr_priority_queue.c
+++ b/lib/libpthread/thread/thr_priority_queue.c
@@ -287,7 +287,7 @@ _waitq_insert(pthread_t pthread)
TAILQ_INSERT_TAIL(&_waitingq, pthread, pqe);
else {
tid = TAILQ_FIRST(&_waitingq);
- while ((tid != NULL) && (tid->wakeup_time.tv_sec != -1) &&
+ while ((tid != NULL) && (tid->wakeup_time.tv_sec != -1) &&
((tid->wakeup_time.tv_sec < pthread->wakeup_time.tv_sec) ||
((tid->wakeup_time.tv_sec == pthread->wakeup_time.tv_sec) &&
(tid->wakeup_time.tv_nsec <= pthread->wakeup_time.tv_nsec))))