From e2735012331e7347a779888365daa3605c71cd5e Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 24 Jun 2015 11:05:39 +0200 Subject: score: Introduce Thread_queue_Queue Separate the thread queue heads and lock from the operations. This enables the support for light weight objects which only support one queuing discipline. --- cpukit/score/src/coremsgsubmit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpukit/score/src/coremsgsubmit.c') diff --git a/cpukit/score/src/coremsgsubmit.c b/cpukit/score/src/coremsgsubmit.c index 37f857917c..351c76b750 100644 --- a/cpukit/score/src/coremsgsubmit.c +++ b/cpukit/score/src/coremsgsubmit.c @@ -132,7 +132,8 @@ CORE_message_queue_Status _CORE_message_queue_Submit( executing->Wait.count = submit_type; _Thread_queue_Enqueue_critical( - &the_message_queue->Wait_queue, + &the_message_queue->Wait_queue.Queue, + the_message_queue->Wait_queue.operations, executing, STATES_WAITING_FOR_MESSAGE, timeout, -- cgit v1.2.3