Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for goexitsall (0.19 sec)

  1. src/runtime/os_plan9.go

    	if ns == 0 {
    		return scratch
    	}
    	return ns
    }
    
    var goexits = []byte("go: exit ")
    var emptystatus = []byte("\x00")
    var exiting uint32
    
    func goexitsall(status *byte) {
    	var buf [_ERRMAX]byte
    	if !atomic.Cas(&exiting, 0, 1) {
    		return
    	}
    	getg().m.locks++
    	n := copy(buf[:], goexits)
    	n = copy(buf[n:], gostringnocopy(status))
    	pid := getpid()
    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/os3_plan9.go

    	if level > 0 {
    		goroutineheader(gp)
    		tracebacktrap(c.pc(), c.sp(), c.lr(), gp)
    		tracebackothers(gp)
    		print("\n")
    		dumpregs(_ureg)
    	}
    	if docrash {
    		crash()
    	}
    Exit:
    	goexitsall(note)
    	exits(note)
    	return _NDFLT // not reached
    }
    
    func sigenable(sig uint32) {
    }
    
    func sigdisable(sig uint32) {
    }
    
    func sigignore(sig uint32) {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top