diff options
| author | gingerBill <bill@gingerbill.org> | 2021-08-18 21:21:30 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2021-08-18 21:21:30 +0100 |
| commit | 3fde4616e0a28615663efda89a33d2d8b2994c9f (patch) | |
| tree | e071c60a4cb153ff6f6663661832837f315917c1 /src/main.cpp | |
| parent | 4812006eb8a22dc6b225585cb772674ae8fc838c (diff) | |
Correct mutex usage for `path_to_fullpath`; make `ThreadPool` use `BlockingMutex`
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 1 |
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(); |