Skip to content
Commit eee5b8e5 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Carles Cufí
Browse files

ring_buffer: make finish methods final



Make it possible to "finish" with fewer bytes than what was "claimed".

This was possible before on the get side, but the put side was
cummulative wrt finish. The revamp made it cummulative on both sides.
Turns out that existing users rely on the opposite behavior which is
more logical and useful. So make both sides that way.

Adjust documentation, test case and users accordingly.

Signed-off-by: default avatarNicolas Pitre <npitre@baylibre.com>
parent d9a74dda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment