diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-04-22 11:35:14 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-04-22 11:38:57 +0200 |
commit | 49d436497ed278f1d02b45c6f336a21c0b7ab93a (patch) | |
tree | 9c5cedd971fd222ab8e01b3493c66bdfdabcbf16 /cpukit/posix/src/semtrywait.c | |
parent | smptests/smpcache01: Enable interrupts before waiting for other CPUs (diff) | |
download | rtems-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.c | 2 |
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); } |