diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-12-23 16:02:07 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-01-11 08:16:27 +0100 |
commit | 9a448aabe65f2b85c7721098a3f68f0a99a6728b (patch) | |
tree | b513a68d98d7b9fa8dcabd914c8aeee6246d2e61 /cpukit/posix/src | |
parent | score: Delete STATES_WAITING_FOR_BUFFER (diff) | |
download | rtems-9a448aabe65f2b85c7721098a3f68f0a99a6728b.tar.bz2 |
score: Add STATES_THREAD_QUEUE_WITH_IDENTIFIER
Add thread state bit to identify thread queues that are embedded in an
object with identifier.
Diffstat (limited to 'cpukit/posix/src')
-rw-r--r-- | cpukit/posix/src/condwaitsupp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpukit/posix/src/condwaitsupp.c b/cpukit/posix/src/condwaitsupp.c index 589b5e2810..f485b48861 100644 --- a/cpukit/posix/src/condwaitsupp.c +++ b/cpukit/posix/src/condwaitsupp.c @@ -119,7 +119,8 @@ int _POSIX_Condition_variables_Wait_support( if ( !already_timedout ) { _Thread_queue_Context_set_thread_state( &queue_context, - STATES_WAITING_FOR_CONDITION_VARIABLE + STATES_THREAD_QUEUE_WITH_IDENTIFIER + | STATES_WAITING_FOR_CONDITION_VARIABLE ); _Thread_queue_Context_set_enqueue_callout( &queue_context, |