Availability:built-in
[deprecated]mutex_unlock_allUnlock all mutexes held by the current thread. This predicate should not
be needed if mutex unlocking is guaranteed with with_mutex/2
or
setup_call_cleanup/3.207The
also deprecated thread_exit/1
bypasses the automatic cleanup.