1
2
3
4
5
6
7
8 package race
9
10 import (
11 "unsafe"
12 )
13
14 const Enabled = false
15
16 func Acquire(addr unsafe.Pointer) {
17 }
18
19 func Release(addr unsafe.Pointer) {
20 }
21
22 func ReleaseMerge(addr unsafe.Pointer) {
23 }
24
25 func Disable() {
26 }
27
28 func Enable() {
29 }
30
31 func Read(addr unsafe.Pointer) {
32 }
33
34 func Write(addr unsafe.Pointer) {
35 }
36
37 func ReadRange(addr unsafe.Pointer, len int) {
38 }
39
40 func WriteRange(addr unsafe.Pointer, len int) {
41 }
42
43 func Errors() int { return 0 }
44
View as plain text