projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
148b100
)
Add mono_threads_core_set_name() on Mac.
author
INADA Naoki
<inada-n@klab.com>
Mon, 31 Mar 2014 07:19:04 +0000
(16:19 +0900)
committer
INADA Naoki
<inada-n@klab.com>
Mon, 31 Mar 2014 07:19:04 +0000
(16:19 +0900)
mono/utils/mono-threads-mach.c
patch
|
blob
|
history
diff --git
a/mono/utils/mono-threads-mach.c
b/mono/utils/mono-threads-mach.c
index 0adb9fdb70393f56e0588a01412197c3155615d8..e8011d350f9e75139ac87b62f6fd2c6aac05e47a 100644
(file)
--- a/
mono/utils/mono-threads-mach.c
+++ b/
mono/utils/mono-threads-mach.c
@@
-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