- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 50 for m_gsignal (0.36 sec)
-
src/runtime/asm_amd64.s
MOVQ DX, (g_sched+gobuf_ctxt)(DI) MOVQ m_g0(BX), SI // SI = m.g0 CMPQ DI, SI JNE 3(PC) CALL runtime·badmorestackg0(SB) CALL runtime·abort(SB) // Cannot grow signal stack (m->gsignal). MOVQ m_gsignal(BX), SI CMPQ DI, SI JNE 3(PC) CALL runtime·badmorestackgsignal(SB) CALL runtime·abort(SB) // Called from f. // Set m->morebuf to f's caller.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 60.4K bytes - Viewed (0) -
src/runtime/signal_unix.go
gp := getg() if old != nil { old.stack = gp.m.gsignal.stack old.stackguard0 = gp.m.gsignal.stackguard0 old.stackguard1 = gp.m.gsignal.stackguard1 old.stktopsp = gp.m.gsignal.stktopsp } stsp := uintptr(unsafe.Pointer(st.ss_sp)) gp.m.gsignal.stack.lo = stsp gp.m.gsignal.stack.hi = stsp + st.ss_size gp.m.gsignal.stackguard0 = stsp + stackGuard gp.m.gsignal.stackguard1 = stsp + stackGuard }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 16:04:54 UTC 2024 - 45K bytes - Viewed (0) -
src/runtime/debug.go
// // Ensure mayMoreStackPreempt can be called for all ABIs. // //go:nosplit //go:linkname mayMoreStackPreempt func mayMoreStackPreempt() { // Don't do anything on the g0 or gsignal stack. gp := getg() if gp == gp.m.g0 || gp == gp.m.gsignal { return } // Force a preemption, unless the stack is already poisoned. if gp.stackguard0 < stackPoisonMin { gp.stackguard0 = stackPreempt } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 4.2K bytes - Viewed (0) -
src/runtime/debuglog_on.go
// exchange!) var l *dlogger if getg() != mp.gsignal { l = mp.dlogCache mp.dlogCache = nil } releasem(mp) return l } // putCachedDlogger attempts to return l to the local cache. It // returns false if this fails. func putCachedDlogger(l *dlogger) bool { mp := acquirem() if getg() != mp.gsignal && mp.dlogCache == nil { mp.dlogCache = l releasem(mp) return true }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/plan9/mkerrors.sh
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 00:11:50 UTC 2022 - 5.9K bytes - Viewed (1) -
src/runtime/os_darwin.go
func mpreinit(mp *m) { mp.gsignal = malg(32 * 1024) // OS X wants >= 8K mp.gsignal.m = mp if GOOS == "darwin" && GOARCH == "arm64" { // mlock the signal stack to work around a kernel bug where it may // SIGILL when the signal stack is not faulted in while a signal // arrives. See issue 42774. mlock(unsafe.Pointer(mp.gsignal.stack.hi-physPageSize), physPageSize) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 11.9K bytes - Viewed (0) -
src/runtime/os_wasm.go
} type sigset struct{} // Called to initialize a new m (including the bootstrap m). // Called on the parent thread (main thread in case of bootstrap), can allocate memory. func mpreinit(mp *m) { mp.gsignal = malg(32 * 1024) mp.gsignal.m = mp } //go:nosplit func usleep_no_g(usec uint32) { usleep(usec) } //go:nosplit func sigsave(p *sigset) { } //go:nosplit func msigrestore(sigmask sigset) { }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 3.2K bytes - Viewed (0) -
src/runtime/os3_plan9.go
"internal/goarch" "internal/stringslite" "unsafe" ) // May run during STW, so write barriers are not allowed. // //go:nowritebarrierrec func sighandler(_ureg *ureg, note *byte, gp *g) int { gsignal := getg() mp := gsignal.m var t sigTabT var docrash bool var sig int var flags int var level int32 c := &sigctxt{_ureg} notestr := gostringnocopy(note)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 4K bytes - Viewed (0) -
src/syscall/mkerrors.sh
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 06 21:22:22 UTC 2022 - 10.7K bytes - Viewed (0) -
src/runtime/os_openbsd.go
func mpreinit(mp *m) { gsignalSize := int32(32 * 1024) if GOARCH == "mips64" { gsignalSize = int32(64 * 1024) } mp.gsignal = malg(gsignalSize) mp.gsignal.m = mp } // Called to initialize a new m (including the bootstrap m). // Called on the new thread, can not allocate memory. func minit() { getg().m.procid = uint64(getthrid())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 6.2K bytes - Viewed (0)