go2hx

manual

github

Module: stdgo.internal.race

(view library index)

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

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

(view code)

function disable

function disable():Void

(view code)

function enable

function enable():Void

(view code)

function errors

function errors():stdgo.GoInt

(view code)

function read

function read(_addr:stdgo.unsafe.UnsafePointer):Void

(view code)

function readRange

function readRange(_addr:stdgo.unsafe.UnsafePointer, _len:stdgo.GoInt):Void

(view code)

function release

function release(_addr:stdgo.unsafe.UnsafePointer):Void

(view code)

function releaseMerge

function releaseMerge(_addr:stdgo.unsafe.UnsafePointer):Void

(view code)

function write

function write(_addr:stdgo.unsafe.UnsafePointer):Void

(view code)

function writeRange

function writeRange(_addr:stdgo.unsafe.UnsafePointer, _len:stdgo.GoInt):Void

(view code)