diff options
| author | gingerBill <bill@gingerbill.org> | 2019-09-01 23:16:01 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2019-09-01 23:16:01 +0100 |
| commit | 6d614ef07caf89939b1757bd225ebd0b8c88fa78 (patch) | |
| tree | c138d49200503165de70f6003c2e1edff972e068 /src/thread_pool.cpp | |
| parent | 723f351a6d36193cb36c74c40b40befa3c4302f1 (diff) | |
Remove thread naming on thread pool
Diffstat (limited to 'src/thread_pool.cpp')
| -rw-r--r-- | src/thread_pool.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/thread_pool.cpp b/src/thread_pool.cpp index 32fe3b82f..83178ea47 100644 --- a/src/thread_pool.cpp +++ b/src/thread_pool.cpp @@ -52,11 +52,13 @@ void thread_pool_init(ThreadPool *pool, gbAllocator const &a, isize thread_count gbThread *t = &pool->threads[i]; gb_thread_init(t); t->user_index = i; + #if 0 if (pool->worker_prefix_len > 0) { char worker_name[16] = {}; gb_snprintf(worker_name, gb_size_of(worker_name), "%.*s%u", pool->worker_prefix_len, pool->worker_prefix, cast(u16)i); gb_thread_set_name(t, worker_name); } + #endif } } |