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. --- testsuites/sptests/spthreadq01/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuites') diff --git a/testsuites/sptests/spthreadq01/init.c b/testsuites/sptests/spthreadq01/init.c index 07118a3a19..2c27057a56 100644 --- a/testsuites/sptests/spthreadq01/init.c +++ b/testsuites/sptests/spthreadq01/init.c @@ -36,10 +36,10 @@ static rtems_task Init( _Thread_Enable_dispatch(); /* is there more to check? */ - rtems_test_assert( _Chain_Is_empty( &fifo_queue.Queues.Fifo ) ); + rtems_test_assert( _Chain_Is_empty( &fifo_queue.Queue.Heads.Fifo ) ); rtems_test_assert( fifo_queue.operations == &_Thread_queue_Operations_FIFO ); - rtems_test_assert( _RBTree_Is_empty( &fifo_queue.Queues.Priority ) ); + rtems_test_assert( _RBTree_Is_empty( &fifo_queue.Queue.Heads.Priority ) ); rtems_test_assert( prio_queue.operations == &_Thread_queue_Operations_priority ); -- cgit v1.2.3