[#1135] sdnotify: Send MONOTONIC_USEC on reload

Fixes #1135

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2024-05-15 13:23:59 +03:00 committed by Evgenii Stratonikov
parent 5c582e96fd
commit f3e09cb09b
3 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,10 @@
package sdnotify
import (
// For go:linkname to work.
_ "unsafe"
)
//go:noescape
//go:linkname nanotime runtime.nanotime
func nanotime() int64