aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-08-26 23:16:57 +0100
committergingerBill <bill@gingerbill.org>2021-08-26 23:16:57 +0100
commit53556d9bd261272137256af9a5716dc26453337b (patch)
tree3a2236e25675e0fa8aaa04f40db78cf8ebdbdf7d
parentda79124e5d43c54a358fd18b64414ec2c1536476 (diff)
Disable local mutex for the time being.
-rw-r--r--src/parser.cpp3
1 files changed, 2 insertions, 1 deletions
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);