From edb23db2ae519627e0d67d482764b01488e78b4e Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 16 Jan 2023 18:31:40 +0000 Subject: Fix potential race condition when determining the package name --- src/parser.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/parser.hpp') diff --git a/src/parser.hpp b/src/parser.hpp index 552e9bfb5..5e1878cf2 100644 --- a/src/parser.hpp +++ b/src/parser.hpp @@ -175,6 +175,7 @@ struct AstPackage { BlockingMutex files_mutex; BlockingMutex foreign_files_mutex; BlockingMutex type_and_value_mutex; + BlockingMutex name_mutex; // NOTE(bill): This must be a MPMCQueue MPMCQueue exported_entity_queue; -- cgit v1.2.3