pub fn reader_needs_signal<M: RingMem>(mem: M) -> bool
Returns whether a ring buffer is in a state where the receiving end might need a signal.