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

ruby-changes:20360

From: mame <ko1@a...>
Date: Tue, 5 Jul 2011 01:32:19 +0900 (JST)
Subject: [ruby-changes:20360] mame:r32408 (trunk): * cont.c: disable FIBER_USE_NATIVE on Solaris because resuming any

mame	2011-07-05 01:32:12 +0900 (Tue, 05 Jul 2011)

  New Revision: 32408

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32408

  Log:
    * cont.c: disable FIBER_USE_NATIVE on Solaris because resuming any
      Fiber caused SEGV.  I haven't follow up the issue deeply, but it
      works when disabling the feature.

  Modified files:
    trunk/ChangeLog
    trunk/cont.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 32407)
+++ ChangeLog	(revision 32408)
@@ -1,3 +1,9 @@
+Tue Jul  5 01:24:26 2011  Yusuke Endoh  <mame@t...>
+
+	* cont.c: disable FIBER_USE_NATIVE on Solaris because resuming any
+	  Fiber caused SEGV.  I haven't follow up the issue deeply, but it
+	  works when disabling the feature.
+
 Tue Jul  5 01:22:46 2011  Yusuke Endoh  <mame@t...>
 
 	* addr2line.c: include <alloca.h> to fix a build issue on Solaris.
Index: cont.c
===================================================================
--- cont.c	(revision 32407)
+++ cont.c	(revision 32408)
@@ -15,7 +15,7 @@
 #include "gc.h"
 #include "eval_intern.h"
 
-#if ((defined(_WIN32) && _WIN32_WINNT >= 0x0400) || defined(HAVE_SETCONTEXT)) && !defined(__NetBSD__) && !defined(FIBER_USE_NATIVE)
+#if ((defined(_WIN32) && _WIN32_WINNT >= 0x0400) || defined(HAVE_SETCONTEXT)) && !defined(__NetBSD__) && !defined(sun) && !defined(FIBER_USE_NATIVE)
 #define FIBER_USE_NATIVE 1
 
 /* FIBER_USE_NATIVE enables Fiber performance improvement using system

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

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