[ruby-cvs:70328] normal:r63238 (trunk): thread*: all condvars are monotonic

normal at ruby-lang.org normal at ruby-lang.org
Sun Apr 22 21:09:07 JST 2018


normal	2018-04-22 21:09:07 +0900 (Sun, 22 Apr 2018)

  New Revision: 63238

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

  Log:
    thread*: all condvars are monotonic
    
    There's no reason to use CLOCK_REALTIME for any condvars in Ruby.
    Indeed, we initialized all condvars with RB_CONDATTR_CLOCK_MONOTONIC
    anyway; so simplify our code and reduce ifdefs.
    
    [ruby-core:85639] [Misc #14497]

  Modified files:
    trunk/mjit.c
    trunk/thread_pthread.c
    trunk/thread_pthread.h
    trunk/thread_win32.c


More information about the ruby-cvs mailing list