[ruby-cvs:71495] normal:r64403 (trunk): thread_pthread.c (rb_sigwait_fd_get): skip getpid check

normal at ruby-lang.org normal at ruby-lang.org
Fri Aug 17 11:06:55 JST 2018


normal	2018-08-17 11:06:54 +0900 (Fri, 17 Aug 2018)

  New Revision: 64403

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

  Log:
    thread_pthread.c (rb_sigwait_fd_get): skip getpid check
    
    This is not called in signal handlers, so there's no reason for
    it.  glibc 2.25+ no longer caches getpid(), so it will cost a
    syscall for those users.

  Modified files:
    trunk/thread_pthread.c


More information about the ruby-cvs mailing list