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

ruby-changes:31170

From: ko1 <ko1@a...>
Date: Fri, 11 Oct 2013 15:23:32 +0900 (JST)
Subject: [ruby-changes:31170] ko1:r43249 (trunk): revert r43248. Should not set interrupt_flag.

ko1	2013-10-11 15:23:19 +0900 (Fri, 11 Oct 2013)

  New Revision: 43249

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

  Log:
    revert r43248. Should not set interrupt_flag.

  Modified files:
    trunk/vm_trace.c
Index: vm_trace.c
===================================================================
--- vm_trace.c	(revision 43248)
+++ vm_trace.c	(revision 43249)
@@ -1456,7 +1456,7 @@ rb_postponed_job_flush(rb_vm_t *vm) https://github.com/ruby/ruby/blob/trunk/vm_trace.c#L1456
     save.index = index;
     save.interrupt_mask = cur_th->interrupt_mask;
 
-    RUBY_VM_SET_POSTPONED_JOB_INTERRUPT(cur_th);
+    cur_th->interrupt_mask |= POSTPONED_JOB_INTERRUPT_MASK;
     TH_PUSH_TAG(cur_th);
     EXEC_TAG();
     /* ignore all jumps, just continue */

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

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