diff options
| author | gingerBill <bill@gingerbill.org> | 2023-01-02 00:56:06 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2023-01-02 00:56:06 +0000 |
| commit | bfdcf900ef25566e57e46ec46683f8b6f2a9515a (patch) | |
| tree | 8052c43ddf650fdb6e00026c61f4ec0214002629 /src/main.cpp | |
| parent | 54f89dd84baaf296f7f744e1d2702b2ec867b5ae (diff) | |
Remove `global_` prefix from `global_thread_pool_*` procedures
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 184ab471e..3ad0e160f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -20,10 +20,10 @@ gb_internal void init_global_thread_pool(void) { isize worker_count = thread_count-1; // NOTE(bill): The main thread will also be used for work thread_pool_init(&global_thread_pool, permanent_allocator(), worker_count, "ThreadPoolWorker"); } -gb_internal bool global_thread_pool_add_task(WorkerTaskProc *proc, void *data) { +gb_internal bool thread_pool_add_task(WorkerTaskProc *proc, void *data) { return thread_pool_add_task(&global_thread_pool, proc, data); } -gb_internal void global_thread_pool_wait(void) { +gb_internal void thread_pool_wait(void) { thread_pool_wait(&global_thread_pool); } |