Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fatalthrow (0.08 sec)

  1. src/runtime/panic.go

    		gp.sched.bp = sp - goarch.PtrSize
    	}
    	gp.sched.ret = 1
    	gogo(&gp.sched)
    }
    
    // fatalthrow implements an unrecoverable runtime throw. It freezes the
    // system, prints stack traces starting from its caller, and terminates the
    // process.
    //
    //go:nosplit
    func fatalthrow(t throwType) {
    	pc := getcallerpc()
    	sp := getcallersp()
    	gp := getg()
    
    	if gp.m.throwing == throwTypeNone {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 43.8K bytes
    - Viewed (0)
Back to top