aboutsummaryrefslogtreecommitdiff
path: root/src/name_canonicalization.hpp
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-09-10 17:29:11 +0100
committergingerBill <gingerBill@users.noreply.github.com>2025-09-10 17:29:11 +0100
commit1e0902677f905e752b42e2f48dcda53141b78eee (patch)
tree2d8975e6c8bf08585241163ebbb67da32c33a4d6 /src/name_canonicalization.hpp
parent60684ff028fe4b0df1925d23d4ff05192f45faab (diff)
Multithread min dep set by removing the set itself
Diffstat (limited to 'src/name_canonicalization.hpp')
-rw-r--r--src/name_canonicalization.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/name_canonicalization.hpp b/src/name_canonicalization.hpp
index 304aff42e..00b450fbe 100644
--- a/src/name_canonicalization.hpp
+++ b/src/name_canonicalization.hpp
@@ -102,6 +102,8 @@ gb_internal Type *type_set_add (TypeSet *s, Type *ptr);
gb_internal Type *type_set_add (TypeSet *s, TypeInfoPair pair);
gb_internal bool type_set_update (TypeSet *s, Type *ptr); // returns true if it previously existed
gb_internal bool type_set_update (TypeSet *s, TypeInfoPair pair); // returns true if it previously existed
+gb_internal bool type_set_update_with_mutex(TypeSet *s, TypeInfoPair pair, RWSpinLock *m);
+gb_internal bool type_set_update_with_mutex(TypeSet *s, Type *ptr, RWSpinLock *m);
gb_internal bool type_set_exists (TypeSet *s, Type *ptr);
gb_internal void type_set_remove (TypeSet *s, Type *ptr);
gb_internal void type_set_clear (TypeSet *s);