From 6d614ef07caf89939b1757bd225ebd0b8c88fa78 Mon Sep 17 00:00:00 2001 From: gingerBill Date: Sun, 1 Sep 2019 23:16:01 +0100 Subject: Remove thread naming on thread pool --- src/thread_pool.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/thread_pool.cpp') 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 } } -- cgit v1.2.3