diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-08-22 13:17:05 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-09-08 09:55:26 +0200 |
commit | 114e40880bb56186d06fc81da29a889d9f2171a5 (patch) | |
tree | 65e8f132b4ebc8f9e5fa7668c9a6de9e26a33088 /cpukit/score/src/threadrestart.c | |
parent | score: Fix warning (diff) | |
download | rtems-114e40880bb56186d06fc81da29a889d9f2171a5.tar.bz2 |
score: Simplify thread queue acquire/release
Diffstat (limited to 'cpukit/score/src/threadrestart.c')
-rw-r--r-- | cpukit/score/src/threadrestart.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cpukit/score/src/threadrestart.c b/cpukit/score/src/threadrestart.c index 8e93d457e8..b7804a5af8 100644 --- a/cpukit/score/src/threadrestart.c +++ b/cpukit/score/src/threadrestart.c @@ -119,10 +119,7 @@ static void _Thread_Wake_up_joining_threads( Thread_Control *the_thread ) #endif _Thread_queue_Context_initialize( &join_context.Base ); - _Thread_queue_Acquire( - &the_thread->Join_queue, - &join_context.Base.Lock_context - ); + _Thread_queue_Acquire( &the_thread->Join_queue, &join_context.Base ); _Thread_queue_Flush_critical( &the_thread->Join_queue.Queue, THREAD_JOIN_TQ_OPERATIONS, |