RTEMS CPU Kit with SuperCore
4.11.3
|
![]() |
Files | |
file | pthreadexit.c |
POSIX Thread Exit Shared Helper. | |
Data Structures | |
struct | POSIX_API_Control |
This defines the POSIX API support structure associated with each thread in a system with POSIX configured. More... | |
Functions | |
void | _POSIX_Thread_Exit (Thread_Control *the_thread, void *value_ptr) |
POSIX thread exit shared helper. More... | |
void _POSIX_Thread_Exit | ( | Thread_Control * | the_thread, |
void * | value_ptr | ||
) |
POSIX thread exit shared helper.
16.1.5.1 Thread Termination, p1003.1c/Draft 10, p. 150
This method is a helper routine which ensures that all POSIX thread calls which result in a thread exiting will do so in the same manner.
[in] | the_thread | is a pointer to the thread exiting or being canceled |
[in] | value_ptr | is a pointer the value to be returned by the thread |
NOTE: Key destructors are executed in the POSIX api delete extension.
References _Assert, Thread_Control::API_Extensions, and THREAD_API_POSIX.
Referenced by _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch().