Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for goexitsall (0.14 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)
Back to top