aboutsummaryrefslogtreecommitdiff
path: root/src/parser.hpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-07-27 23:14:01 +0100
committergingerBill <bill@gingerbill.org>2021-07-27 23:14:01 +0100
commita5d6fda4338641a64d07b353129e5731a6517941 (patch)
tree0cce749ad561e7a27b3c5eb0d6443f3d58a6df34 /src/parser.hpp
parent4bc3796f9b9e8ea00ff0da89f6e983345fb2fd7e (diff)
Define which mutexes are blocking and recursive explicitly
Diffstat (limited to 'src/parser.hpp')
-rw-r--r--src/parser.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parser.hpp b/src/parser.hpp
index d7d972f9e..73fb537e7 100644
--- a/src/parser.hpp
+++ b/src/parser.hpp
@@ -192,9 +192,9 @@ struct Parser {
isize file_to_process_count;
isize total_token_count;
isize total_line_count;
- gbMutex import_mutex;
- gbMutex file_add_mutex;
- gbMutex file_decl_mutex;
+ BlockingMutex import_mutex;
+ BlockingMutex file_add_mutex;
+ BlockingMutex file_decl_mutex;
MPMCQueue<ParseFileError> file_error_queue;
};