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/include/rtems/score/coresemimpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/include/rtems/score/coresemimpl.h') diff --git a/cpukit/score/include/rtems/score/coresemimpl.h b/cpukit/score/include/rtems/score/coresemimpl.h index 20ca30b366..6082c3bd72 100644 --- a/cpukit/score/include/rtems/score/coresemimpl.h +++ b/cpukit/score/include/rtems/score/coresemimpl.h @@ -186,7 +186,7 @@ RTEMS_INLINE_ROUTINE Status_Control _CORE_semaphore_Seize( _Thread_queue_Context_set_thread_state( queue_context, - STATES_WAITING_FOR_SEMAPHORE + STATES_THREAD_QUEUE_WITH_IDENTIFIER | STATES_WAITING_FOR_SEMAPHORE ); _Thread_queue_Context_set_do_nothing_enqueue_callout( queue_context ); _Thread_queue_Enqueue( -- cgit v1.2.3