projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[runtime] Remove all NACL support. It was unmaintained for a long time. (#4955)
[mono.git]
/
mono
/
utils
/
mono-threads-posix.c
diff --git
a/mono/utils/mono-threads-posix.c
b/mono/utils/mono-threads-posix.c
index 9ee2a77402de20bebbca6cabbd61ec0a3f7917bd..5d0e1ab29112e3e8b0ce624e2cbd257a6519f077 100644
(file)
--- a/
mono/utils/mono-threads-posix.c
+++ b/
mono/utils/mono-threads-posix.c
@@
-30,7
+30,7
@@
extern int tkill (pid_t tid, int signal);
#endif
extern int tkill (pid_t tid, int signal);
#endif
-#if defined(_POSIX_VERSION)
|| defined(__native_client__)
+#if defined(_POSIX_VERSION)
#include <pthread.h>
#include <pthread.h>
@@
-150,9
+150,6
@@
mono_threads_pthread_kill (MonoThreadInfo *info, int signum)
errno = old_errno;
}
return result;
errno = old_errno;
}
return result;
-#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
#elif !defined(HAVE_PTHREAD_KILL)
g_error ("pthread_kill() is not supported by this platform");
#else
@@
-234,7
+231,7
@@
mono_native_thread_join (MonoNativeThreadId tid)
return !pthread_join (tid, &res);
}
return !pthread_join (tid, &res);
}
-#endif /* defined(_POSIX_VERSION)
|| defined(__native_client__)
*/
+#endif /* defined(_POSIX_VERSION) */
#if defined(USE_POSIX_BACKEND)
#if defined(USE_POSIX_BACKEND)