Documentation
¶
Overview ¶
Package boottimer provides a one-shot timer whose deadline keeps counting across system suspend. On Linux the Go runtime's monotonic clock pauses while the system sleeps, so timers fire late by the suspended duration (https://github.com/golang/go/issues/24595); the timer is backed by a CLOCK_BOOTTIME timerfd there. Other platforms fall back to a standard timer: exact on FreeBSD, whose CLOCK_MONOTONIC counts suspended time (see clock_gettime(2)), best-effort where the clock pauses, such as macOS (https://github.com/golang/go/issues/66870).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.