aboutsummaryrefslogtreecommitdiff
path: root/src/checker.hpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-01-12 15:38:23 +0000
committergingerBill <bill@gingerbill.org>2023-01-12 15:38:23 +0000
commite97bf2ef358eef4499dfee0dc1533bf785d923f2 (patch)
tree39962e30c0faab08db88f93aa472b4958875925b /src/checker.hpp
parentd6c54148d93a649dbf8d75f97c5c487431b0c8fd (diff)
Minimize contention on the deps for decls
Diffstat (limited to 'src/checker.hpp')
-rw-r--r--src/checker.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/checker.hpp b/src/checker.hpp
index 595618e1d..d461b1f6e 100644
--- a/src/checker.hpp
+++ b/src/checker.hpp
@@ -449,6 +449,10 @@ struct Checker {
MPSCQueue<Entity *> procs_with_deferred_to_check;
Array<ProcInfo *> procs_to_check;
+ BlockingMutex nested_proc_lits_mutex;
+ Array<DeclInfo *> nested_proc_lits;
+
+
MPSCQueue<UntypedExprInfo> global_untyped_queue;
};