[前][次][番号順一覧][スレッド一覧]

ruby-changes:51917

From: nobu <ko1@a...>
Date: Tue, 31 Jul 2018 00:21:08 +0900 (JST)
Subject: [ruby-changes:51917] nobu:r64131 (trunk): thread_pthread.c: revert r64123

nobu	2018-07-31 00:21:01 +0900 (Tue, 31 Jul 2018)

  New Revision: 64131

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64131

  Log:
    thread_pthread.c: revert r64123
    
    * thread_pthread.c (USE_NATIVE_SLEEP_COND): revised wrongly removed
      line with the ifndef guard.

  Modified files:
    trunk/thread_pthread.c
Index: thread_pthread.c
===================================================================
--- thread_pthread.c	(revision 64130)
+++ thread_pthread.c	(revision 64131)
@@ -1565,6 +1565,10 @@ rb_thread_create_mjit_thread(void (*work https://github.com/ruby/ruby/blob/trunk/thread_pthread.c#L1565
     return ret;
 }
 
+#ifndef USE_NATIVE_SLEEP_COND
+#define USE_NATIVE_SLEEP_COND (1)
+#endif
+
 #if USE_NATIVE_SLEEP_COND
 rb_nativethread_cond_t *
 rb_sleep_cond_get(const rb_execution_context_t *ec)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]