submit, then sleeps until at least wait_for completions are ready.
wait_for
submit_and_wait :: (ring: *Ring, wait_for: u32) -> s32