summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/condwait.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-04-22 11:35:14 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-04-22 11:38:57 +0200
commit49d436497ed278f1d02b45c6f336a21c0b7ab93a (patch)
tree9c5cedd971fd222ab8e01b3493c66bdfdabcbf16 /cpukit/posix/src/condwait.c
parentsmptests/smpcache01: Enable interrupts before waiting for other CPUs (diff)
downloadrtems-49d436497ed278f1d02b45c6f336a21c0b7ab93a.tar.bz2
score: Delete bogus THREAD_QUEUE_WAIT_FOREVER
It makes no sense to use this indirection since the type for timeout values is Watchdog_Interval.
Diffstat (limited to 'cpukit/posix/src/condwait.c')
-rw-r--r--cpukit/posix/src/condwait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/condwait.c b/cpukit/posix/src/condwait.c
index 79ecc2eee5..034b9140e4 100644
--- a/cpukit/posix/src/condwait.c
+++ b/cpukit/posix/src/condwait.c
@@ -39,7 +39,7 @@ int pthread_cond_wait(
return _POSIX_Condition_variables_Wait_support(
cond,
mutex,
- THREAD_QUEUE_WAIT_FOREVER,
+ WATCHDOG_NO_TIMEOUT,
false
);
}