Namespaces
Variants
Views
Actions

thread_exit

From cppreference.com
< c‎ | thread
Revision as of 22:42, 31 May 2013 by P12bot (Talk | contribs)

Defined in header <threads.h>
_Noreturn void thrd_exit( int res );
(since C11)

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

Parameters

res - the result value to return

Return value

(none)

See also

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