Example #1
0
File: race.go Project: hfeeki/go
func Release(goid int32, addr uintptr) {
	C.__tsan_release(C.int(goid), unsafe.Pointer(addr))
}
Example #2
0
func Release(racectx uintptr, addr uintptr) {
	C.__tsan_release(unsafe.Pointer(racectx), unsafe.Pointer(addr))
}