[ruby-cvs:69640] normal:r62459 (trunk): thread_pthread.c (native_cond_timeout): simplify

normal at ruby-lang.org normal at ruby-lang.org
Sun Feb 18 11:12:23 JST 2018


normal	2018-02-18 11:12:23 +0900 (Sun, 18 Feb 2018)

  New Revision: 62459

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

  Log:
    thread_pthread.c (native_cond_timeout): simplify
    
    Rely on getclockofday for CLOCK_MONOTONIC, avoid needless
    variables, and rely on overflow protection from timespec_add
    instead of coding our own.

  Modified files:
    trunk/thread_pthread.c


More information about the ruby-cvs mailing list