Skip to content

darkdragon-001/rt_buffers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-time buffers

Experimental: This library is in early development, interfaces and behavior might change at any commit.

This crate is supposed to be used in real-time contexts. Therefore, it is strictly no_std and no_alloc. The backing storage has to be provided by the user, it can be static, stack, heap or shared memory. Writes always succeed immediately, the writer never blocks or waits. It might overwrite data in case of a slow reader. It is always possible to interact directly with the underlying buffer via references, there are no implicit copies.

Features:

  • metrics: Collect metrics like skipped elements
  • notify: Use wait/notify pattern instead of busy polling

Triple buffer

This buffer can be used when one is only interested in the latest data.

Ring buffer

This buffer can be used when there is a desire to process multiple data points.

License

Licensed under either of

at your option.

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages