Works like calling g_static_rec_mutex_lock() for mutex depth times.
number of times this mutex has to be unlocked to be completely unlocked.
See Implementation
Works like calling g_static_rec_mutex_lock() for mutex depth times.