aboutsummaryrefslogtreecommitdiff
path: root/src/checker.hpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-01-03 15:34:52 +0000
committergingerBill <bill@gingerbill.org>2023-01-03 15:34:52 +0000
commit3dee3205b299b2a2e803a3bc248f0a9ffdcce69e (patch)
tree80db08306f6fe3b632cdea11d59ef7887095fc8e /src/checker.hpp
parentc7a704d345e9bda38da18807a1d7cd5bc5accc17 (diff)
Use `RwMutex` for `DeclInfo` `deps
Diffstat (limited to 'src/checker.hpp')
-rw-r--r--src/checker.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/checker.hpp b/src/checker.hpp
index 53052d5cd..50f4a204c 100644
--- a/src/checker.hpp
+++ b/src/checker.hpp
@@ -179,10 +179,10 @@ struct DeclInfo {
CommentGroup *comment;
CommentGroup *docs;
- BlockingMutex deps_mutex;
+ RwMutex deps_mutex;
PtrSet<Entity *> deps;
- BlockingMutex type_info_deps_mutex;
+ RwMutex type_info_deps_mutex;
PtrSet<Type *> type_info_deps;
Array<BlockLabel> labels;