- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for badsignal2 (0.16 sec)
-
src/runtime/os_plan9.go
} var _badsignal = []byte("runtime: signal received on thread not created by Go.\n") // This runs on a foreign stack, without an m or a g. No stack split. // //go:nosplit func badsignal2() { pwrite(2, unsafe.Pointer(&_badsignal[0]), int32(len(_badsignal)), -1) exits(&_badsignal[0]) } func raisebadsignal(sig uint32) { badsignal2() } func _atoi(b []byte) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 10.3K bytes - Viewed (0) -
src/runtime/os2_plan9.go
// Notes in runtime·sigtab that are handled by runtime·sigpanic. _SIGRFAULT = 2 _SIGWFAULT = 3 _SIGINTDIV = 4 _SIGFLOAT = 5 _SIGTRAP = 6 _SIGPROF = 0 // dummy value defined for badsignal _SIGQUIT = 0 // dummy value defined for sighandler
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 14 18:33:38 UTC 2015 - 1.5K bytes - Viewed (0) -
src/runtime/cgo/signal_ios_arm64.s
TEXT xx_cgo_panicmem(SB),NOSPLIT|NOFRAME,$0 // If in external C code, we need to load the g register. BL runtime·load_g(SB) CMP $0, g BNE ongothread // On a foreign thread. // TODO(crawshaw): call badsignal MOVD.W $0, -16(RSP) MOVW $139, R1 MOVW R1, 8(RSP) B runtime·exit(SB) ongothread: // Trigger a SIGSEGV panic. // // The goal is to arrange the stack so it looks like the runtime
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 06 22:54:58 UTC 2020 - 1.8K bytes - Viewed (0) -
src/runtime/signal_unix.go
// no non-Go signal handler for sigPreempt. // The default behavior for sigPreempt is to ignore // the signal, so badsignal will be a no-op anyway. if GOOS == "darwin" || GOOS == "ios" { pendingPreemptSignals.Add(-1) } return } c.fixsigcode(sig) // Set g to nil here and badsignal will use g0 by needm. // TODO: reuse the current m here by using the gsignal and adjustSignalStack,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 16:04:54 UTC 2024 - 45K bytes - Viewed (0)