mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-24 22:41:30 +08:00
This field was only by the monitor in non-multiprocessing configurations. Add new field Thread_Wait_information::remote_id in multiprocessing configurations and use it for the remote procedure call thread queue. Add _Thread_Wait_get_id() to obtain the object identifier for debug and system information tools. Ensure the object layout via static asserts. Add test cases to sptests/spthreadq01.
27 lines
785 B
Plaintext
27 lines
785 B
Plaintext
# COPYRIGHT (c) 1989-2009.
|
|
# On-Line Applications Research Corporation (OAR).
|
|
#
|
|
# The license and distribution terms for this file may be
|
|
# found in the file LICENSE in this distribution or at
|
|
# http://www.rtems.org/license/LICENSE.
|
|
#
|
|
|
|
This file describes the directives and concepts tested by this test set.
|
|
|
|
test set name: spthreadq01
|
|
|
|
directives:
|
|
|
|
- THREAD_QUEUE_INITIALIZER()
|
|
- _Thread_queue_Extract()
|
|
- _Thread_Wait_get_id()
|
|
|
|
concepts:
|
|
|
|
- Ensure that the thread queue initializer correctly initializes the thread
|
|
queue.
|
|
- Ensure that when an attempt is made to extract a thread which is not blocked
|
|
on a thread queue, that the behavior is as expected.
|
|
- Ensure that _Thread_Wait_get_id() returns the right object identifier for
|
|
various high-level objects.
|