ruby-changes:57560
From: yuuji.yaginuma <ko1@a...>
Date: Thu, 5 Sep 2019 22:09:39 +0900 (JST)
Subject: [ruby-changes:57560] 0036aa3532 (master): Add version that FreeBSD supports `CLOCK_PROCESS_CPUTIME_ID` [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=0036aa3532 From 0036aa35321b036be6e49e07b19f92c061ca4135 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" <yuuji.yaginuma@g...> Date: Thu, 5 Sep 2019 08:33:43 +0900 Subject: Add version that FreeBSD supports `CLOCK_PROCESS_CPUTIME_ID` [ci skip] Seems FreeBSD already supported `CLOCK_PROCESS_CPUTIME_ID`. That added by https://reviews.freebsd.org/rS239347 and the doc was updated by https://reviews.freebsd.org/rS315694. I confirmed `CLOCK_PROCESS_CPUTIME_ID` constant exists in 9.3.0 branch. https://github.com/freebsd/freebsd/blob/release/9.3.0/sys/sys/time.h#L269 diff --git a/process.c b/process.c index 33d9571..4661da2 100644 --- a/process.c +++ b/process.c @@ -7660,7 +7660,7 @@ ruby_real_ms_time(void) https://github.com/ruby/ruby/blob/trunk/process.c#L7660 * * [CLOCK_REALTIME] SUSv2 to 4, Linux 2.5.63, FreeBSD 3.0, NetBSD 2.0, OpenBSD 2.1, macOS 10.12 * [CLOCK_MONOTONIC] SUSv3 to 4, Linux 2.5.63, FreeBSD 3.0, NetBSD 2.0, OpenBSD 3.4, macOS 10.12 - * [CLOCK_PROCESS_CPUTIME_ID] SUSv3 to 4, Linux 2.5.63, OpenBSD 5.4, macOS 10.12 + * [CLOCK_PROCESS_CPUTIME_ID] SUSv3 to 4, Linux 2.5.63, FreeBSD 9.3, OpenBSD 5.4, macOS 10.12 * [CLOCK_THREAD_CPUTIME_ID] SUSv3 to 4, Linux 2.5.63, FreeBSD 7.1, OpenBSD 5.4, macOS 10.12 * [CLOCK_VIRTUAL] FreeBSD 3.0, OpenBSD 2.1 * [CLOCK_PROF] FreeBSD 3.0, OpenBSD 2.1 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/