projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8228d27
)
[runtime] Workaround lack of pthread_kill().
author
João Matos
<joao@tritao.eu>
Fri, 24 Jul 2015 18:48:14 +0000
(19:48 +0100)
committer
João Matos
<joao@tritao.eu>
Fri, 24 Jul 2015 18:58:55 +0000
(19:58 +0100)
mono/utils/mono-threads-posix.c
patch
|
blob
|
history
diff --git
a/mono/utils/mono-threads-posix.c
b/mono/utils/mono-threads-posix.c
index 879e15f3c95c2021e7b4a14febc4bf061c45a75d..e9ca1415c04eee3f37dfd855b451b738d72f7ab6 100644
(file)
--- a/
mono/utils/mono-threads-posix.c
+++ b/
mono/utils/mono-threads-posix.c
@@
-275,6
+275,8
@@
mono_threads_pthread_kill (MonoThreadInfo *info, int signum)
#elif defined(__native_client__)
/* Workaround pthread_kill abort() in NaCl glibc. */
return 0;
+#elif !defined(HAVE_PTHREAD_KILL)
+ g_error ("pthread_kill() is not supported by this platform");
#else
return pthread_kill (mono_thread_info_get_tid (info), signum);
#endif