Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for asyncpreemptoff (0.18 sec)

  1. src/runtime/proc.go

    	// Setting gp->stackguard0 to StackPreempt folds
    	// preemption into the normal stack overflow check.
    	gp.stackguard0 = stackPreempt
    
    	// Request an async preemption of this P.
    	if preemptMSupported && debug.asyncpreemptoff == 0 {
    		pp.preempt = true
    		preemptM(mp)
    	}
    
    	return true
    }
    
    var starttime int64
    
    func schedtrace(detailed bool) {
    	now := nanotime()
    	if starttime == 0 {
    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