We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b56e7c commit a9cd8baCopy full SHA for a9cd8ba
1 file changed
core/shared/platform/common/posix/posix_thread.c
@@ -48,6 +48,13 @@ os_thread_wrapper(void *arg)
48
#endif
49
#ifdef OS_ENABLE_WAKEUP_BLOCKING_OP
50
os_end_blocking_op();
51
+#endif
52
+#if BH_DEBUG != 0
53
+#if defined __APPLE__
54
+ pthread_setname_np("wamr");
55
+#else
56
+ pthread_setname_np(pthread_self(), "wamr");
57
58
59
start_func(thread_arg);
60
#ifdef OS_ENABLE_HW_BOUND_CHECK
0 commit comments