Unlocks rec_mutex. If another thread is blocked in a RecMutex.lock call for rec_mutex, it will become unblocked and can lock rec_mutex itself.
Calling RecMutex.unlock on a recursive mutex that is not locked by the current thread leads to undefined behaviour.
2.32
Unlocks rec_mutex. If another thread is blocked in a RecMutex.lock call for rec_mutex, it will become unblocked and can lock rec_mutex itself.
Calling RecMutex.unlock on a recursive mutex that is not locked by the current thread leads to undefined behaviour.