runtime

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallerFrame

func CallerFrame(matched func(frame runtime.Frame) bool) *runtime.Frame

func Goid

func Goid() (id int64)

Types

type ThreadLocal

type ThreadLocal[T any] interface {
	Load() T
	Store(T)
	Ex() bool
	Remove()
}

func NewThreadLocal

func NewThreadLocal[T any](init func() T) ThreadLocal[T]

Jump to

Keyboard shortcuts

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