mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-28 11:02:35 +08:00
A thread join is twofold. There is one thread that exists and an arbitrary number of threads that wait for the thread exit (one-to-many relation). The exiting thread may want to wait for a thread that wants to join its exit (STATES_WAITING_FOR_JOIN_AT_EXIT in _POSIX_Thread_Exit()). On the other side we need a thread queue for all the threads that wait for the exit of one particular thread (STATES_WAITING_FOR_JOIN in pthread_join()). Update #2035.
This directory contains for the "miscellaneous" library. Currently this library contains a number of useful support libraries: + Task Stack Overflow Checker + Workspace Consistency Checker + Task Execution Time Monitor + Period Statistics Monitor + Debug Monitor The following ideas have been mentioned for items which could go in this library, but this list is not all inclusive: + there are no outstanding suggestions. The intent of this library is to provide a home for useful utility routines which are dependent upon RTEMS. --joel 16 Sept 97