[ruby-cvs:69363] normal:r62182 (trunk): thread.c: avoid FP for Thread#join

normal at ruby-lang.org normal at ruby-lang.org
Sun Feb 4 04:59:16 JST 2018

normal	2018-02-04 04:59:16 +0900 (Sun, 04 Feb 2018)

  New Revision: 62182


    thread.c: avoid FP for Thread#join
    FP arithmetic can lose precision in some cases leading to
    premature wakeup and wasting CPU cycles.
    Convert to use timeval_* functions for now.

  Modified files:

More information about the ruby-cvs mailing list