Skip to content
/ RingBuf Public

A high performance RingBuf!Support read/write,readv/writev.

License

Notifications You must be signed in to change notification settings

wustwg/RingBuf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RingBuf

A high performance, lock-free RingBuf base by C++! Support read/write,readv/writev.

环形缓冲区

一个基于C++实现的高效、无锁的环形缓冲区,代码数量很少,可根据自己的需求扩展接口;也可以自己改造成C版本。 支持read/write、readv/writev接口。

环形缓冲区的适用场景

  1. 需要自己提供read/write接口
  2. 同线程内,支持一边读一边写

注意事项

  1. 接口非线程安全。

About

A high performance RingBuf!Support read/write,readv/writev.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published