aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-08-18 21:21:30 +0100
committergingerBill <bill@gingerbill.org>2021-08-18 21:21:30 +0100
commit3fde4616e0a28615663efda89a33d2d8b2994c9f (patch)
treee071c60a4cb153ff6f6663661832837f315917c1 /src/main.cpp
parent4812006eb8a22dc6b225585cb772674ae8fc838c (diff)
Correct mutex usage for `path_to_fullpath`; make `ThreadPool` use `BlockingMutex`
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5b391a8ae..2a7468051 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -2009,6 +2009,7 @@ int main(int arg_count, char const **arg_ptr) {
arena_init(&permanent_arena, heap_allocator());
temp_allocator_init(&temporary_allocator_data, 16*1024*1024);
arena_init(&global_ast_arena, heap_allocator());
+ mutex_init(&fullpath_mutex);
init_string_buffer_memory();
init_string_interner();