Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for beforeIdle (0.12 sec)

  1. src/runtime/proc.go

    	}
    
    	// wasm only:
    	// If a callback returned and no other goroutine is awake,
    	// then wake event handler goroutine which pauses execution
    	// until a callback was triggered.
    	gp, otherReady := beforeIdle(now, pollUntil)
    	if gp != nil {
    		trace := traceAcquire()
    		casgstatus(gp, _Gwaiting, _Grunnable)
    		if trace.ok() {
    			trace.GoUnpark(gp, 0)
    			traceRelease(trace)
    		}
    		return gp, false, false
    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