Namespaces
Variants
Views
Actions

thread_exit

From cppreference.com
< c‎ | thread
Revision as of 15:04, 2 November 2012 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

Template:c/thread/dcl list thrd joinTemplate:c/thread/dcl list thrd detach