diff options
| author | gingerBill <bill@gingerbill.org> | 2023-01-12 01:09:36 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-01-12 01:09:36 +0000 |
| commit | 9428f792ed598485add6aaf110fed56a9a63b540 (patch) | |
| tree | fa95be0b7a38c8a27f253f2db09450d113017525 /src/main.cpp | |
| parent | 520ff731de908f63c8f5fe21ea058b8590d4285d (diff) | |
Comment out allocator guards for the time being
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index eacce253d..60f27a5a7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -16,7 +16,7 @@ gb_global ThreadPool global_thread_pool; gb_internal void init_global_thread_pool(void) { isize thread_count = gb_max(build_context.thread_count, 1); - isize worker_count = thread_count-1; + isize worker_count = thread_count; // +1 thread_pool_init(&global_thread_pool, permanent_allocator(), worker_count, "ThreadPoolWorker"); } gb_internal bool thread_pool_add_task(WorkerTaskProc *proc, void *data) { |