From 53556d9bd261272137256af9a5716dc26453337b Mon Sep 17 00:00:00 2001 From: gingerBill Date: Thu, 26 Aug 2021 23:16:57 +0100 Subject: Disable local mutex for the time being. --- src/parser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/parser.cpp') diff --git a/src/parser.cpp b/src/parser.cpp index f77179ea7..98064d63b 100644 --- a/src/parser.cpp +++ b/src/parser.cpp @@ -4786,8 +4786,9 @@ ParseFileError init_ast_file(AstFile *f, String fullpath, TokenPos *err_pos) { block_size = ((block_size + page_size-1)/page_size) * page_size; block_size = gb_clamp(block_size, page_size, DEFAULT_MINIMUM_BLOCK_SIZE); f->arena.minimum_block_size = block_size; + #if 0 arena_init_local_mutex(&f->arena); - + #endif array_init(&f->comments, heap_allocator(), 0, 0); array_init(&f->imports, heap_allocator(), 0, 0); -- cgit v1.2.3