diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-06-24 11:05:39 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-07-23 08:00:19 +0200 |
commit | e2735012331e7347a779888365daa3605c71cd5e (patch) | |
tree | a573ae6f29fdb58205e0991d7c3b201a45163d93 /testsuites/sptests/spthreadq01/init.c | |
parent | bsps/arm: Update due to API changes (diff) | |
download | rtems-e2735012331e7347a779888365daa3605c71cd5e.tar.bz2 |
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.
Diffstat (limited to 'testsuites/sptests/spthreadq01/init.c')
-rw-r--r-- | testsuites/sptests/spthreadq01/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); |