Add more uses of or_return
This commit is contained in:
1 parent
b071a07c86
commit
4035fec784
6 files changed
+41
-127
No files matched your search
@@ -129,7 +129,7 @@ _Recursive_Mutex :: struct {
|
||||
}
|
||||
|
||||
_recursive_mutex_lock :: proc(m: ^Recursive_Mutex) {
|
||||
tid := runtime.current_thread_id();
|
||||
tid := _current_thread_id();
|
||||
if tid != m.impl.owner {
|
||||
mutex_lock(&m.impl.mutex);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user