From 9a448aabe65f2b85c7721098a3f68f0a99a6728b Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 23 Dec 2016 16:02:07 +0100 Subject: score: Add STATES_THREAD_QUEUE_WITH_IDENTIFIER Add thread state bit to identify thread queues that are embedded in an object with identifier. --- cpukit/posix/src/condwaitsupp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpukit/posix/src') 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, -- cgit v1.2.3