summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/semtrywait.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/semtrywait.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/semtrywait.c')
-rw-r--r--cpukit/posix/src/semtrywait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/semtrywait.c b/cpukit/posix/src/semtrywait.c
index 10b1f60517..addc071144 100644
--- a/cpukit/posix/src/semtrywait.c
+++ b/cpukit/posix/src/semtrywait.c
@@ -35,5 +35,5 @@ int sem_trywait(
sem_t *sem
)
{
- return _POSIX_Semaphore_Wait_support(sem, false, THREAD_QUEUE_WAIT_FOREVER);
+ return _POSIX_Semaphore_Wait_support(sem, false, WATCHDOG_NO_TIMEOUT);
}