Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TracebackAncestors (0.15 sec)

  1. src/runtime/proc.go

    	// Copy all prior info, except for the root goroutine (goid 0).
    	if debug.tracebackancestors <= 0 || callergp.goid == 0 {
    		return nil
    	}
    	var callerAncestors []ancestorInfo
    	if callergp.ancestors != nil {
    		callerAncestors = *callergp.ancestors
    	}
    	n := int32(len(callerAncestors)) + 1
    	if n > debug.tracebackancestors {
    		n = debug.tracebackancestors
    	}
    	ancestors := make([]ancestorInfo, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top