xruntime

package
Version: v0.0.0-...-df4b66e Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RaceIgnoreBegin

func RaceIgnoreBegin()

func RaceIgnoreEnd

func RaceIgnoreEnd()

func StartTheWorld

func StartTheWorld()

StartTheWorld restarts the world after it was stopped by StopTheWorld.

func StopTheWorld

func StopTheWorld(reason string)

StopTheWorld returns with the world stopped.

Current goroutine remains the only one who is running, with others goroutines stopped at safe GC points. It requires careful programming as many things that normally work lead to fatal errors when the world is stopped - for example using timers would be invalid, but adjusting plain values in memory is ok.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto