Module: stdgo.internal.race
Overview
Package race contains helper functions for manually instrumenting code for the race detector.
The runtime package intentionally exports these functions only in the race build; this package exports them unconditionally but without the "race" build tag they are no-ops.
Index
-
function readRange(_addr:stdgo.unsafe.UnsafePointer, _len:stdgo.GoInt):Void
-
function releaseMerge(_addr:stdgo.unsafe.UnsafePointer):Void
-
function writeRange(_addr:stdgo.unsafe.UnsafePointer, _len:stdgo.GoInt):Void
Constants
import stdgo.internal.race.Race
final enabled:Bool = false
Functions
import stdgo.internal.race.Race
function acquire
function acquire(_addr:stdgo.unsafe.UnsafePointer):Void
function disable
function disable():Void
function enable
function enable():Void
function errors
function errors():stdgo.GoInt
function read
function read(_addr:stdgo.unsafe.UnsafePointer):Void
function readRange
function readRange(_addr:stdgo.unsafe.UnsafePointer, _len:stdgo.GoInt):Void
function release
function release(_addr:stdgo.unsafe.UnsafePointer):Void
function releaseMerge
function releaseMerge(_addr:stdgo.unsafe.UnsafePointer):Void
function write
function write(_addr:stdgo.unsafe.UnsafePointer):Void
function writeRange
function writeRange(_addr:stdgo.unsafe.UnsafePointer, _len:stdgo.GoInt):Void