summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadwaitgetid.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-01-31score: Add _Thread_queue_Object_nameSebastian Huber1-8/+7
Add the special thread queue name _Thread_queue_Object_name to mark thread queues embedded in an object with identifier. Using the special thread state STATES_THREAD_QUEUE_WITH_IDENTIFIER is not reliable for this purpose since the thread wait information and thread state are protected by different SMP locks in separate critical sections. Remove STATES_THREAD_QUEUE_WITH_IDENTIFIER. Add and use _Thread_queue_Object_initialize(). Update #2858.
2017-01-11score: Add STATES_THREAD_QUEUE_WITH_IDENTIFIERSebastian Huber1-9/+1
Add thread state bit to identify thread queues that are embedded in an object with identifier.
2016-05-25score: Move thread queue object supportSebastian Huber1-6/+2
2016-04-06score: Delete Thread_Wait_information::idSebastian Huber1-0/+54
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.