Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ ring Public

Ring a circular buffer implemented as two channels in golang

License

Notifications You must be signed in to change notification settings

msays2000/ring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

6 Commits

Repository files navigation

ring

RingChannel uses two channels input and output in a way that never blocks the input. If a new value gets added to a RingChannel's input when its buffer is full then the oldest value in the output channel gets removed to make room (just like a standard ring-buffer).

About

Ring a circular buffer implemented as two channels in golang

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /