KosThreadTerminate()
KosThreadTerminate()
This function is declared in the kos/thread.h
file.
Retcode KosThreadTerminate(Tid tid, rtl_int32_t exitCode);
This function terminates the thread of the calling process. The tid
parameter defines the ID of the thread.
If the tid
points to the current thread, the exitCode
parameter defines the thread exit code.
If successful, the function returns rcOk.
Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.