diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-04-22 13:57:18 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-04-22 13:58:32 +0200 |
commit | b0686b473d8c07e5bbdc1932d7d9b71bfccdf92e (patch) | |
tree | 0c09c09140e21de14d183bdc4146a02560e92dbc /cpukit/score/src/corerwlockobtainread.c | |
parent | score: Delete bogus THREAD_QUEUE_WAIT_FOREVER (diff) | |
download | rtems-b0686b473d8c07e5bbdc1932d7d9b71bfccdf92e.tar.bz2 |
score: Delete _CORE_RWLock_Timeout()
This function was identical to _Thread_queue_Timeout(). This makes
_Thread_queue_Enqueue_with_handler() obsolete.
Diffstat (limited to 'cpukit/score/src/corerwlockobtainread.c')
-rw-r--r-- | cpukit/score/src/corerwlockobtainread.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpukit/score/src/corerwlockobtainread.c b/cpukit/score/src/corerwlockobtainread.c index c118e2900f..f3851b4fd3 100644 --- a/cpukit/score/src/corerwlockobtainread.c +++ b/cpukit/score/src/corerwlockobtainread.c @@ -84,11 +84,10 @@ void _CORE_RWLock_Obtain_for_reading( executing->Wait.return_code = CORE_RWLOCK_SUCCESSFUL; _ISR_Enable( level ); - _Thread_queue_Enqueue_with_handler( + _Thread_queue_Enqueue( &the_rwlock->Wait_queue, executing, - timeout, - _CORE_RWLock_Timeout + timeout ); /* return to API level so it can dispatch and we block */ |