Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TimedWait ¶
TimedWait waits for sync.Cond c to be signaled, with a timeout. If the condition is not signaled before timeout, TimedWait forces a Broadcast() on c until this function returns. This assumes a (common) use of sync.Cond where stray signals are allowed, so the extra Broadcast() introduced by this function isn't a problem. This function does not indicate whether a timeout occurred or not; the caller should check time.Now() as needed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.