Back to godoc.org

Package xruntime

v0.0.0-...-3cf7f3f
Latest Go to latest

The latest major version is .

Published: May 27, 2020 | License: GPL3 | Module: lab.nexedi.com/kirr/go123

Index

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.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier