Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for badsignal2 (0.32 sec)

  1. 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)
  2. 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)
Back to top