cf_thread_wait¶
Category: multithreading
GitHub: cute_multithreading.h
Waits and blocks/sleeps until the thread exits, and returns the thread's return result.
Parameters | Description |
---|---|
thread | The thread. |
Remarks¶
It is invalid to call this function on a detached thread (see cf_thread_detach). It is invalid to call this function on a thread more than once.
Related Pages¶
CF_Thread
CF_ThreadFn
cf_thread_create
cf_thread_detach
cf_thread_get_id
cf_thread_id