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/corerwlockobtainwrite.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 '')
-rw-r--r-- | cpukit/score/src/corerwlockobtainwrite.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpukit/score/src/corerwlockobtainwrite.c b/cpukit/score/src/corerwlockobtainwrite.c index 40da6c9f4e..ea7d25c0e3 100644 --- a/cpukit/score/src/corerwlockobtainwrite.c +++ b/cpukit/score/src/corerwlockobtainwrite.c @@ -74,13 +74,11 @@ void _CORE_RWLock_Obtain_for_writing( 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 */ } |