diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-23 05:56:25 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-10-23 05:56:25 +0000 |
commit | 0e2d2e6a794d3e9e6a55be37b9b640c902bc501b (patch) | |
tree | aa6148c34b5fcc74078e7bf822bbbd1bb2c0a41b /thread_pthread.c | |
parent | 08524bc59477176b270a0249784af4e37ab3fed9 (diff) |
Drop to support NaCl platform.
Because NaCl and PNaCl are already sunset status.
see https://bugs.chromium.org/p/chromium/issues/detail?id=239656#c160
configure.ac: Patch for this file was provided by @nobu.
[Feature #14041][ruby-core:83497][fix GH-1726]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index 9576cd3ed7..0a3fee373d 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -27,9 +27,6 @@ #ifdef HAVE_SYS_PRCTL_H #include <sys/prctl.h> #endif -#if defined(__native_client__) && defined(NACL_NEWLIB) -# include "nacl/select.h" -#endif #if defined(HAVE_SYS_TIME_H) #include <sys/time.h> #endif @@ -64,7 +61,7 @@ static struct { #define USE_MONOTONIC_COND 0 #endif -#if defined(HAVE_POLL) && defined(HAVE_FCNTL) && defined(F_GETFL) && defined(F_SETFL) && defined(O_NONBLOCK) && !defined(__native_client__) +#if defined(HAVE_POLL) && defined(HAVE_FCNTL) && defined(F_GETFL) && defined(F_SETFL) && defined(O_NONBLOCK) /* The timer thread sleeps while only one Ruby thread is running. */ # define USE_SLEEPY_TIMER_THREAD 1 #else @@ -460,9 +457,7 @@ Init_native_thread(void) #ifdef USE_UBF_LIST native_mutex_initialize(&ubf_list_lock); #endif -#ifndef __native_client__ posix_signal(SIGVTALRM, null_func); -#endif } static void |