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