- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for osPreemptExtEnter (0.15 sec)
-
src/runtime/os_windows.go
stdcall1(_ResumeThread, thread) stdcall1(_CloseHandle, thread) } // osPreemptExtEnter is called before entering external code that may // call ExitProcess. // // This must be nosplit because it may be called from a syscall with // untyped stack slots, so the stack must not be grown or scanned. // //go:nosplit func osPreemptExtEnter(mp *m) { for !atomic.Cas(&mp.preemptExtLock, 0, 1) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:55:25 UTC 2024 - 41.5K bytes - Viewed (0) -
src/runtime/cgocall.go
// code. We do this after entersyscall because this may block // and cause an async preemption to fail, but at this point a // sync preemption will succeed (though this is not a matter // of correctness). osPreemptExtEnter(mp) mp.incgo = true // We use ncgo as a check during execution tracing for whether there is // any C on the call stack, which there will be after this point. If
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 24.2K bytes - Viewed (0) -
src/runtime/race.go
// which can theoretically call back into Go. // Tell the scheduler we entering external code. entersyscall() // We're entering external code that may call ExitProcess on // Windows. osPreemptExtEnter(getg().m) racecall(&__tsan_fini, 0, 0, 0, 0) } //go:nosplit func raceproccreate() uintptr { var ctx uintptr racecall(&__tsan_proc_create, uintptr(unsafe.Pointer(&ctx)), 0, 0, 0) return ctx
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 20.4K bytes - Viewed (0)