Пример #1
0
func WriteRange(goid int32, addr, sz, step, pc uintptr) {
	C.__tsan_write_range(C.int(goid), unsafe.Pointer(addr),
		C.long(sz), C.long(step), unsafe.Pointer(pc))
}
Пример #2
0
func WriteRange(racectx uintptr, addr, sz, step, pc uintptr) {
	C.__tsan_write_range(unsafe.Pointer(racectx), unsafe.Pointer(addr),
		C.long(sz), C.long(step), unsafe.Pointer(pc))
}
Пример #3
0
func WriteRange(racectx uintptr, addr, sz, pc uintptr) {
	C.__tsan_write_range(unsafe.Pointer(racectx), unsafe.Pointer(addr),
		C.long(sz), 0 /*step is unused*/, unsafe.Pointer(pc))
}