KosMutexInitEx()
KosMutexInitEx()
This function is declared in the kos/mutex.h
file.
void KosMutexInitEx(KosMutex *mutex, int recursive);
Initializes the mutex
in an unlocked state.
To initialize a recursive mutex, you need to pass the value 1 to the recursive
parameter.
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.