Add mono_threads_core_set_name() on Mac.
authorINADA Naoki <inada-n@klab.com>
Mon, 31 Mar 2014 07:19:04 +0000 (16:19 +0900)
committerINADA Naoki <inada-n@klab.com>
Mon, 31 Mar 2014 07:19:04 +0000 (16:19 +0900)
mono/utils/mono-threads-mach.c

index 0adb9fdb70393f56e0588a01412197c3155615d8..e8011d350f9e75139ac87b62f6fd2c6aac05e47a 100644 (file)
@@ -138,4 +138,10 @@ mono_native_thread_create (MonoNativeThreadId *tid, gpointer func, gpointer arg)
        return pthread_create (tid, NULL, func, arg) == 0;
 }
 
+void
+mono_threads_core_set_name (MonoNativeThreadId tid, const char *name)
+{
+       /* pthread_setnmae_np() on Mac is not documented and doesn't receive thread id. */
+}
+
 #endif