diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-03-30 13:45:06 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-06 09:08:20 +0200 |
commit | 818ad5eb7640af76859e78123b9f33b68b99fd7e (patch) | |
tree | 12e63fd7137ef1c80911be3c58528aa9e569fed6 /cpukit/score | |
parent | score: _Thread_queue_Flush() parameter changes (diff) | |
download | rtems-818ad5eb7640af76859e78123b9f33b68b99fd7e.tar.bz2 |
score: Simplify _Thread_queue_Do_flush()
Also set the thread wait return code for thread proxies since this
causes no harm.
Diffstat (limited to 'cpukit/score')
-rw-r--r-- | cpukit/score/src/threadqflush.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cpukit/score/src/threadqflush.c b/cpukit/score/src/threadqflush.c index 694c7466d1..56dd80528a 100644 --- a/cpukit/score/src/threadqflush.c +++ b/cpukit/score/src/threadqflush.c @@ -45,10 +45,7 @@ void _Thread_queue_Do_flush( ) ) ) { -#if defined(RTEMS_MULTIPROCESSING) - if ( _Objects_Is_local_id( the_thread->Object.id ) ) -#endif - the_thread->Wait.return_code = status; + the_thread->Wait.return_code = status; _Thread_queue_Extract_critical( &the_thread_queue->Queue, |