|
@@ -48,6 +48,13 @@ os_thread_wrapper(void *arg)
|
|
|
#endif
|
|
#endif
|
|
|
#ifdef OS_ENABLE_WAKEUP_BLOCKING_OP
|
|
#ifdef OS_ENABLE_WAKEUP_BLOCKING_OP
|
|
|
os_end_blocking_op();
|
|
os_end_blocking_op();
|
|
|
|
|
+#endif
|
|
|
|
|
+#if BH_DEBUG != 0
|
|
|
|
|
+#if defined __APPLE__
|
|
|
|
|
+ pthread_setname_np("wamr");
|
|
|
|
|
+#else
|
|
|
|
|
+ pthread_setname_np(pthread_self(), "wamr");
|
|
|
|
|
+#endif
|
|
|
#endif
|
|
#endif
|
|
|
start_func(thread_arg);
|
|
start_func(thread_arg);
|
|
|
#ifdef OS_ENABLE_HW_BOUND_CHECK
|
|
#ifdef OS_ENABLE_HW_BOUND_CHECK
|