Namespaces
Variants
Views
Actions

thread_exit

From cppreference.com
< c‎ | thread
Revision as of 18:36, 9 July 2013 by P12bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Defined in header <threads.h>
_Noreturn void thrd_exit( int res );
(since C11)

Terminates the current thread and sets its result code to res.

[edit] Parameters

res - the result value to return

[edit] Return value

(none)

[edit] See also

blocks until a thread terminates
(function) [edit]
detaches a thread
(function) [edit]