From 0e2d2e6a794d3e9e6a55be37b9b640c902bc501b Mon Sep 17 00:00:00 2001 From: hsbt Date: Mon, 23 Oct 2017 05:56:25 +0000 Subject: 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 --- thread_pthread.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'thread_pthread.c') 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 #endif -#if defined(__native_client__) && defined(NACL_NEWLIB) -# include "nacl/select.h" -#endif #if defined(HAVE_SYS_TIME_H) #include #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 -- cgit v1.2.3