Skip to content

Async-compatible ring buffer(s). SPSC (single producer, single consumer) for fast transfer of ownership over objects. Mainly for exchanging buffers between tasks quickly.

License

Notifications You must be signed in to change notification settings

bryandmc/async-ringbuf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Async-RingBuf:

Actions Status

Simple SPSC, async friendly ring buffer:

Very simple design largely inspired by the dpdk ring buffers with additional bookkeeping for waking tasks and being async friendly. This is a very limited, single producer, single consumer ring buffer. It could be modified pretty easily to be a MPSC or potentially even and MPMC but it requires a fair amount more work and affects the performance pretty drastically.

I will likely add other variants as time goes on, as I need them. Feel free to contribute in any way you see fit!

About

Async-compatible ring buffer(s). SPSC (single producer, single consumer) for fast transfer of ownership over objects. Mainly for exchanging buffers between tasks quickly.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages