The Posix method of calculating absolute deadlines is adopted in
favor of latching the monotonic clock to a known epoch, as the Posix
method is simpler and meets all the requirements of the Ada LRM.
Tested on x86_64-pc-linux-gnu, committed on trunk
2017-10-20 Doug Rupp
* libgnarl/s-os
On 09/25/2017 02:36 PM, Duncan Sands wrote:
+ -- The most recent calls to clock_gettime were more better.
were more better -> were better
Yes, we fixed that in a latter commit. :-)
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=2a6c14a68616dfb8d8578bb8692c5e05de4aade3#patch3
Hi,
On 09/25/2017 10:47 AM, Pierre-Marie de Rodat wrote:
The monotonic clock epoch is set to some undetermined time
in the past (typically system boot time). In order to use the
monotonic clock for absolute time, the offset from a known epoch
is calculated and incorporated into timed delay and
The monotonic clock epoch is set to some undetermined time
in the past (typically system boot time). In order to use the
monotonic clock for absolute time, the offset from a known epoch
is calculated and incorporated into timed delay and sleep.
Tested on x86_64-pc-linux-gnu, committed on trunk
2