mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-04 12:07:45 +00:00
Define which mutexes are blocking and recursive explicitly
This commit is contained in:
@@ -240,8 +240,8 @@ bool find_or_generate_polymorphic_procedure(CheckerContext *c, Entity *base_enti
|
||||
GB_ASSERT(dst == nullptr);
|
||||
}
|
||||
|
||||
gb_mutex_lock(&info->gen_procs_mutex);
|
||||
defer (gb_mutex_unlock(&info->gen_procs_mutex));
|
||||
mutex_lock(&info->gen_procs_mutex);
|
||||
defer (mutex_unlock(&info->gen_procs_mutex));
|
||||
|
||||
if (!src->Proc.is_polymorphic || src->Proc.is_poly_specialized) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user