Search found 2 matches

by Jeebus
Mon Oct 31, 2022 2:55 am
Forum: Documentation
Topic: Ringbuffer - meaning of "retrieve" and "return"?
Replies: 3
Views: 5891

Re: Ringbuffer - meaning of "retrieve" and "return"?

Thanks for the speedy reply! This concept is much clear to me now. One last thing though- when I return the item after I am done with it, does this tell the ring buffer to "clear" the data, or at least no longer regard it? I essentially want the data to be deleted after I'm done with it. Does return...
by Jeebus
Sun Oct 30, 2022 4:46 pm
Forum: Documentation
Topic: Ringbuffer - meaning of "retrieve" and "return"?
Replies: 3
Views: 5891

Ringbuffer - meaning of "retrieve" and "return"?

According to the documentation on ring buffers: The ring buffer provides API to send an item, or to allocate space for an item in the ring buffer to be filled manually by the user. For efficiency reasons, items are always retrieved from the ring buffer by reference. As a result, all retrieved items ...