We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41e9bfb commit 74496caCopy full SHA for 74496ca
source/code/core/tasks/private/task_native_thread.cxx
@@ -326,6 +326,11 @@ namespace ice
326
{
327
emscripten_set_thread_name(pthread_self(), ice::string::begin(thread_info.debug_name));
328
}
329
+#elif ISP_LINUX
330
+ if constexpr (ice::build::is_release == false)
331
+ {
332
+ pthread_setname_np(pthread_self(), ice::string::begin(thread_info.debug_name));
333
+ }
334
#endif
335
336
ice::ThreadRuntime& runtime = thread_obj->runtime();
0 commit comments