aboutsummaryrefslogtreecommitdiff
path: root/src/threading.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-01-03 14:45:09 +0000
committergingerBill <bill@gingerbill.org>2023-01-03 14:45:09 +0000
commit0fb3032b731b640a2d0d1d62b9f8dd548e224b0e (patch)
tree178b8cc6c72684d7f0b0041af2b5616804b31638 /src/threading.cpp
parent69934c3b0b1b8ad0a499574c39c1ab177a1fe30a (diff)
General improves to `alloc_ast_node` and other unnecessary checks
Diffstat (limited to 'src/threading.cpp')
-rw-r--r--src/threading.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/threading.cpp b/src/threading.cpp
index aca77cd8f..78943150e 100644
--- a/src/threading.cpp
+++ b/src/threading.cpp
@@ -398,6 +398,7 @@ gb_internal void thread_init(ThreadPool *pool, Thread *t, isize idx) {
t->idx = idx;
}
+
gb_internal void thread_init_and_start(ThreadPool *pool, Thread *t, isize idx) {
thread_init(pool, t, idx);
isize stack_size = 0;