|
noexcept |
Terminates execution of the calling thread setting its result code to the specified value.
[in] | res | is a result code to set for the terminating thread. |
Calling the function has the same effect as returning a value of res
from the entry point of the thread.
The function implements a behaviour of the thrd_exit function defined in the ISO/IEC 9899:2011 (aka C11) standard.