X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Futils%2Fmono-threads-posix.c;h=5d0e1ab29112e3e8b0ce624e2cbd257a6519f077;hb=010fcfb9ecfef1654b415dbb909a01148a89e827;hp=9ee2a77402de20bebbca6cabbd61ec0a3f7917bd;hpb=045232ef52603abcf570b771777489549301826b;p=mono.git diff --git a/mono/utils/mono-threads-posix.c b/mono/utils/mono-threads-posix.c index 9ee2a77402d..5d0e1ab2911 100644 --- 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 -#if defined(_POSIX_VERSION) || defined(__native_client__) +#if defined(_POSIX_VERSION) #include @@ -150,9 +150,6 @@ mono_threads_pthread_kill (MonoThreadInfo *info, int signum) 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 @@ -234,7 +231,7 @@ mono_native_thread_join (MonoNativeThreadId tid) return !pthread_join (tid, &res); } -#endif /* defined(_POSIX_VERSION) || defined(__native_client__) */ +#endif /* defined(_POSIX_VERSION) */ #if defined(USE_POSIX_BACKEND)