pub fn writer_needs_signal(control_page: &Page, ring_size: u32) -> bool
Returns whether a ring buffer is in a state where the sending end might need a signal.