HTL_thread_join_np
Waits until the target thread terminates.
Interface Definition
int HTL_thread_join_np(HTL_thread_t *thread);
Description
HTL_thread_join_np() is used to wait until the target thread terminates.
Parameters
Parameter |
Type |
Description |
Input/Output |
|---|---|---|---|
thread |
HTL_thread_t * |
Address of the handle to the thread. |
Input |
Return Value
- HTL_THREAD_SUCCESS: success.
- Other values: failure. For details, see the error code descriptions.
Example
1 2 | /* join the thread */ HTL_thread_join_np(&thread); |
Parent topic: Thread Functions