Function ctru_sys::svcExitThread

source ·
pub unsafe extern "C" fn svcExitThread() -> !
Expand description

Exits the current thread.

This will trigger a state change and hence release all svcWaitSynchronization operations. It means that you can join a thread by calling svcWaitSynchronization(threadHandle,yourtimeout);