From: normalperson@... Date: 2018-02-05T19:50:03+00:00 Subject: [ruby-core:85416] [Ruby trunk Feature#14452] [PATCH] thread.c: favor timespec internally Issue #14452 has been reported by normalperson (Eric Wong). ---------------------------------------- Feature #14452: [PATCH] thread.c: favor timespec internally https://bugs.ruby-lang.org/issues/14452 * Author: normalperson (Eric Wong) * Status: Open * Priority: Normal * Assignee: * Target version: ---------------------------------------- This results in fewer conversion on common modern systems with support for clock_gettime, pthread_cond_timedwait and ppoll. gettimeofday is declared obsolete by POSIX.1-2008, so it is yet another reason to move away from it. This also appears to result in the reduction of compatibility code required for dealing with inconsistent implementations of "struct timeval".tv_sec In the future, this will also result in fewer conversions for kqueue and pselect if we elect to use them. Will commit soonish ---Files-------------------------------- 0001-thread.c-favor-timespec-internally.patch (19.9 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: