A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../algorithm/../../cpp/../c/thread/thrd_join.html below:

thrd_join - cppreference.com

int thrd_join( thrd_t thr, int *res ); (since C11)

Blocks the current thread until the thread identified by thr finishes execution.

If res is not a null pointer, the result code of the thread is put to the location pointed to by res.

The termination of the thread synchronizes-with the completion of this function.

The behavior is undefined if the thread was previously detached or joined by another thread.

[edit] Parameters thr - identifier of the thread to join res - location to put the result code to [edit] Return value

thrd_success if successful, thrd_error otherwise.

[edit] References
[edit] See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4