- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for writeErrStr (0.74 sec)
-
src/runtime/runtime.go
unsetenv_c(key) if key == "GODEBUG" { godebugEnv.Store(nil) godebugNotify(true) } } // writeErrStr writes a string to descriptor 2. // If SetCrashOutput(f) was called, it also writes to f. // //go:nosplit func writeErrStr(s string) { writeErrData(unsafe.StringData(s), int32(len(s))) } // writeErrData is the common parts of writeErr{,Str}. // //go:nosplit
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 9.9K bytes - Viewed (0) -
src/runtime/stubs.go
// ... set up y ... // systemstack(func() { // x = bigcall(y) // }) // ... use x ... // //go:noescape func systemstack(fn func()) //go:nosplit //go:nowritebarrierrec func badsystemstack() { writeErrStr("fatal: systemstack called from unexpected goroutine") } // memclrNoHeapPointers clears n bytes starting at ptr. // // Usually you should use typedmemclr. memclrNoHeapPointers should be
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 20.2K bytes - Viewed (0) -
src/runtime/signal_unix.go
if !iscgo && !cgoHasExtraM { // There is no extra M. needm will not be able to grab // an M. Instead of hanging, just crash. // Cannot call split-stack function as there is no G. writeErrStr("fatal: bad g in signal handler\n") exit(2) *(*uintptr)(unsafe.Pointer(uintptr(123))) = 2 } needm(true) if !sigsend(uint32(sig)) { // A foreign thread received the signal sig, and the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 16:04:54 UTC 2024 - 45K bytes - Viewed (0)