Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableOOM ¶
DisableOOM disables oom killer for the given process
func SleepUntilWallClock ¶ added in v44.8.3
SleepUntilWallClock is like time.Sleep, but will wake at or near the given time even if the host hibernates before wakeAt. The time.Sleep function uses a timer that stops ticking during host hibernation.
Returns true if the sleep ran to wakeAt, or false if the context is cancelled before then.
In the interest of saving power, this function sleeps for 1 minute at a time, checking the wall clock after each minute. If the host returns from hiberanation less than 1 minute before wakeAt, it is possible that this function will sleep up to 1 minute past wakeAt.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.