[runtime] Remove all NACL support. It was unmaintained for a long time. (#4955)
[mono.git] / mono / utils / mono-threads-posix.c
index d978c538ae9b2d934a946088a145d8c47e379bc8..5d0e1ab29112e3e8b0ce624e2cbd257a6519f077 100644 (file)
@@ -1,5 +1,6 @@
-/*
- * mono-threads-posix.c: Low-level threading, posix version
+/**
+ * \file
+ * Low-level threading, posix version
  *
  * Author:
  *     Rodrigo Kumpera (kumpera@gmail.com)
@@ -29,7 +30,7 @@
 extern int tkill (pid_t tid, int signal);
 #endif
 
-#if defined(_POSIX_VERSION) || defined(__native_client__)
+#if defined(_POSIX_VERSION)
 
 #include <pthread.h>
 
@@ -149,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
@@ -233,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)