- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for NewCond (0.05 seconds)
-
internal/ringbuffer/ring_buffer.go
// This setting should be called before any Read or Write operation or after a Reset. func (r *RingBuffer) SetBlocking(block bool) *RingBuffer { r.block = block if block { r.readCond = sync.NewCond(&r.mu) r.writeCond = sync.NewCond(&r.mu) } return r } // WithCancel sets a context to cancel the ring buffer. // When the context is canceled, the ring buffer will be closed with the context error.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.3K bytes - Click Count (0) -
api/go1.txt
pkg strings, method (*Replacer) Replace(string) string pkg strings, method (*Replacer) WriteString(io.Writer, string) (int, error) pkg strings, type Reader struct pkg strings, type Replacer struct pkg sync, func NewCond(Locker) *Cond pkg sync, method (*Cond) Broadcast() pkg sync, method (*Cond) Signal() pkg sync, method (*Cond) Wait() pkg sync, method (*Mutex) Lock() pkg sync, method (*Mutex) Unlock()
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Aug 14 18:58:28 GMT 2013 - 1.7M bytes - Click Count (0)