Пример #1
0
Файл: race.go Проект: hfeeki/go
func Write(goid int32, addr, pc uintptr) {
	C.__tsan_write(C.int(goid), unsafe.Pointer(addr), unsafe.Pointer(pc))
}
Пример #2
0
func Write(racectx uintptr, addr, pc uintptr) {
	C.__tsan_write(unsafe.Pointer(racectx), unsafe.Pointer(addr), unsafe.Pointer(pc))
}