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

ruby-changes:51230

From: nobu <ko1@a...>
Date: Tue, 15 May 2018 19:51:13 +0900 (JST)
Subject: [ruby-changes:51230] nobu:r63436 (trunk): signal.c: follow up r63435

nobu	2018-05-15 19:51:07 +0900 (Tue, 15 May 2018)

  New Revision: 63436

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

  Log:
    signal.c: follow up r63435

  Modified files:
    trunk/signal.c
Index: signal.c
===================================================================
--- signal.c	(revision 63435)
+++ signal.c	(revision 63436)
@@ -1012,7 +1012,7 @@ static void https://github.com/ruby/ruby/blob/trunk/signal.c#L1012
 signal_exec(VALUE cmd, int safe, int sig)
 {
     rb_execution_context_t *ec = GET_EC();
-    volatile unsigned long old_interrupt_mask = ec->interrupt_mask;
+    volatile rb_atomic_t old_interrupt_mask = ec->interrupt_mask;
     enum ruby_tag_type state;
 
     /*

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

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