Clarify RwLocks for add_dependenies_from_unpacking

This commit is contained in:
gingerBill
2023-01-03 15:37:35 +00:00
parent 3dee3205b2
commit 485c606672
2 changed files with 2 additions and 10 deletions
-6
View File
@@ -357,12 +357,6 @@ struct CheckerInfo {
BlockingMutex global_untyped_mutex;
BlockingMutex builtin_mutex;
// NOT recursive & only used at the end of `check_proc_body`
// and in `add_dependency`.
// This is a possible source of contention but probably not
// too much of a problem in practice
BlockingMutex deps_mutex;
BlockingMutex type_and_value_mutex;
RecursiveMutex lazy_mutex; // Mutex required for lazy type checking of specific files