[ruby-cvs:71292] normal:r64200 (trunk): process.c (rb_waitpid): reduce sigwait_fd bouncing

normal at ruby-lang.org normal at ruby-lang.org
Mon Aug 6 06:27:14 JST 2018


normal	2018-08-06 06:27:14 +0900 (Mon, 06 Aug 2018)

  New Revision: 64200

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

  Log:
    process.c (rb_waitpid): reduce sigwait_fd bouncing
    
    Once a thread has acquired sigwait_fd, hold onto it until
    waitpid is complete.  This prevents unnecessary migration
    and atomic operations.

  Modified files:
    trunk/process.c


More information about the ruby-cvs mailing list