Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for runtime_notifyListAdd (0.25 sec)

  1. src/runtime/sema.go

    // notifications. The caller must eventually call notifyListWait to wait for
    // such a notification, passing the returned ticket number.
    //
    //go:linkname notifyListAdd sync.runtime_notifyListAdd
    func notifyListAdd(l *notifyList) uint32 {
    	// This may be called concurrently, for example, when called from
    	// sync.Cond.Wait while holding a RWMutex in read mode.
    	return l.wait.Add(1) - 1
    }
    
    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