[ruby-cvs:71616] normal:r64524 (trunk): thread_pthread.c (ubf_timer_destroy): remove redundant getpid check

normal at ruby-lang.org normal at ruby-lang.org
Fri Aug 24 04:49:35 JST 2018


normal	2018-08-24 04:49:35 +0900 (Fri, 24 Aug 2018)

  New Revision: 64524

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

  Log:
    thread_pthread.c (ubf_timer_destroy): remove redundant getpid check
    
    TIMER_THREAD_CREATED_P already checks that pid, and glibc 2.25+
    no longer caches getpid(2).

  Modified files:
    trunk/thread_pthread.c


More information about the ruby-cvs mailing list