mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-31 18:32:12 +00:00
Give begin_error_block its own recursive mutex
This commit is contained in:
@@ -79,7 +79,7 @@ void mutex_lock(RecursiveMutex *m) {
|
||||
gb_mutex_lock(&m->mutex);
|
||||
}
|
||||
bool mutex_try_lock(RecursiveMutex *m) {
|
||||
return gb_mutex_try_lock(&m->mutex);
|
||||
return !!gb_mutex_try_lock(&m->mutex);
|
||||
}
|
||||
void mutex_unlock(RecursiveMutex *m) {
|
||||
gb_mutex_unlock(&m->mutex);
|
||||
|
||||
Reference in New Issue
Block a user