Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cgoHasExtraM (0.16 sec)

  1. src/runtime/signal_unix.go

    }
    
    // This runs on a foreign stack, without an m or a g. No stack split.
    //
    //go:nosplit
    //go:norace
    //go:nowritebarrierrec
    func badsignal(sig uintptr, c *sigctxt) {
    	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")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top