go123: lab.nexedi.com/kirr/go123/tracing/internal/xruntime Index | Files

package xruntime

import "lab.nexedi.com/kirr/go123/tracing/internal/xruntime"


Package Files

race_norace.go runtime.go runtime_g.go zruntime_g_go1.14.go

func RaceIgnoreBegin Uses

func RaceIgnoreBegin()

func RaceIgnoreEnd Uses

func RaceIgnoreEnd()

func StartTheWorld Uses

func StartTheWorld()

StartTheWorld restarts the world after it was stopped by StopTheWorld.

func StopTheWorld Uses

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.

Package xruntime imports 1 packages (graph) and is imported by 2 packages. Updated 2020-07-07. Refresh now. Tools for package owners.