Documentation ¶
Index ¶
- Constants
- func AdjustTimeOffset(offset int64)
- func Caller(skip int) (pc uintptr, file string, line int, ok bool)
- func Callers(skip int, pc []uintptr) int
- func GOMAXPROCS(n int) int
- func GOROOT() string
- func Goexit()
- func Gosched()
- func Stack(buf []byte, all bool) int
- type Cond
- type Error
- type Frame
- type Frames
- type Func
Constants ¶
View Source
const CLOCK_MONOTONIC_RAW = 4
View Source
const Compiler = "tinygo"
View Source
const GOARCH = "amd64"
View Source
const GOOS = "linux"
View Source
const TargetBits = 64
The bitness of the CPU (e.g. 8, 32, 64).
Variables ¶
This section is empty.
Functions ¶
func AdjustTimeOffset ¶ added in v0.10.0
func AdjustTimeOffset(offset int64)
AdjustTimeOffset adds the given offset to the built-in time offset. A positive value adds to the time (skipping some time), a negative value moves the clock into the past.
func GOMAXPROCS ¶
Types ¶
type Cond ¶ added in v0.17.0
type Cond struct {
// contains filtered or unexported fields
}
Cond is a simplified condition variable, useful for notifying goroutines of interrupts.
func (*Cond) Notify ¶ added in v0.17.0
Notify sends a notification. If the condition variable already has a pending notification, this returns false.
type Error ¶ added in v0.14.0
type Error interface { error RuntimeError() }
The Error interface identifies a run time error.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package debug is a dummy package that is not yet implemented.
|
Package debug is a dummy package that is not yet implemented. |
internal
|
|
Package interrupt provides access to hardware interrupts.
|
Package interrupt provides access to hardware interrupts. |
Package volatile provides definitions for volatile loads and stores.
|
Package volatile provides definitions for volatile loads and stores. |
Click to show internal directories.
Click to hide internal directories.