Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for gStatusStrings (0.22 sec)

  1. src/runtime/traceback.go

    	isScan := gpstatus&_Gscan != 0
    	gpstatus &^= _Gscan // drop the scan bit
    
    	// Basic string status
    	var status string
    	if 0 <= gpstatus && gpstatus < uint32(len(gStatusStrings)) {
    		status = gStatusStrings[gpstatus]
    	} else {
    		status = "???"
    	}
    
    	// Override.
    	if gpstatus == _Gwaiting && gp.waitreason != waitReasonZero {
    		status = gp.waitreason.String()
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top