- Sort Score
- Result 10 results
- Languages All
Results 11 - 13 of 13 for _cgo_tsan_release (0.14 sec)
-
src/runtime/cgo/gcc_linux_amd64.c
} } extern void crosscall1(void (*fn)(void), void (*setg_gcc)(void*), void *g); static void* threadentry(void *v) { ThreadStart ts; ts = *(ThreadStart*)v; _cgo_tsan_acquire(); free(v); _cgo_tsan_release(); crosscall1(ts.fn, setg_gcc, (void*)ts.g); return nil;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 22 22:06:46 UTC 2023 - 2.3K bytes - Viewed (0) -
src/runtime/cgo/gcc_traceback.c
// Explicitly unpoison the memory to avoid that. // See issue #47543 for more details. __msan_unpoison(&arg, sizeof arg); #endif _cgo_tsan_acquire(); (*cgoTraceback)(&arg); _cgo_tsan_release(); sigtramp(sig, info, context);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 08 20:11:59 UTC 2023 - 1.5K bytes - Viewed (0) -
src/cmd/cgo/out.go
// (There is no actual lock, we are just telling TSAN that there is.) // // When we call from Go to C we call _cgo_tsan_acquire. // When the C function returns we call _cgo_tsan_release. // Similarly, when C calls back into Go we call _cgo_tsan_release // and then call _cgo_tsan_acquire when we return to C. // These calls tell TSAN that there is a serialization point at the C call. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 16:41:10 UTC 2024 - 59.6K bytes - Viewed (0)