Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for runtime_notifyListWait (0.34 sec)

  1. src/runtime/sema.go

    }
    
    // notifyListWait waits for a notification. If one has been sent since
    // notifyListAdd was called, it returns immediately. Otherwise, it blocks.
    //
    //go:linkname notifyListWait sync.runtime_notifyListWait
    func notifyListWait(l *notifyList, t uint32) {
    	lockWithRank(&l.lock, lockRankNotifyList)
    
    	// Return right away if this ticket has already been notified.
    	if less(t, l.notify) {
    		unlock(&l.lock)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top