RFC: API: Counter: counter_read() has no way of indicating failure

Henrik Brix Andersen

Hi all,

Our current counter API has a function for reading the current counter value (counter_read()) which does not allow indicating read failure in a standard way.
I have submitted an RFC for introducing a new API function to resolve this and deprecate counter_read().

See for further details. Please comment on the RFC issue if you have any input on this.

The counter API is currently marked as an unstable API (see

Best regards,
Henrik Brix Andersen