[ruby-cvs:70884] normal:r63793 (trunk): signal.c: use ATOMIC_EXCHANGE for sigchld_hit

normal at ruby-lang.org normal at ruby-lang.org
Sat Jun 30 07:13:02 JST 2018


normal	2018-06-30 07:13:02 +0900 (Sat, 30 Jun 2018)

  New Revision: 63793

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

  Log:
    signal.c: use ATOMIC_EXCHANGE for sigchld_hit
    
    sig_atomic_t may not be sufficient for multi-threaded
    applications if the sighandler runs on a different CPU
    than timer thread.

  Modified files:
    trunk/signal.c


More information about the ruby-cvs mailing list