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/score/src/corerwlockobtainwrite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/src/corerwlockobtainwrite.c') diff --git a/cpukit/score/src/corerwlockobtainwrite.c b/cpukit/score/src/corerwlockobtainwrite.c index 7f636daa99..75168fc062 100644 --- a/cpukit/score/src/corerwlockobtainwrite.c +++ b/cpukit/score/src/corerwlockobtainwrite.c @@ -68,7 +68,7 @@ Status_Control _CORE_RWLock_Seize_for_writing( _Thread_queue_Context_set_thread_state( queue_context, - STATES_WAITING_FOR_RWLOCK + STATES_THREAD_QUEUE_WITH_IDENTIFIER | STATES_WAITING_FOR_RWLOCK ); _Thread_queue_Context_set_do_nothing_enqueue_callout( queue_context ); _Thread_queue_Enqueue( -- cgit v1.2.3