nanosleep

package
v0.9.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Timer

type Timer struct {
	// contains filtered or unexported fields
}

func NewTimer

func NewTimer(d time.Duration) *Timer

func (*Timer) C

func (self *Timer) C() <-chan time.Time

func (*Timer) Reset

func (self *Timer) Reset(d time.Duration) bool

func (*Timer) Stop

func (self *Timer) Stop() bool

Stop does nothing, because I don't know how to stop clock_nanosleep.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL