GitHub - mitghi/lfring: Lock-Free MRMW Ring Buffer. Atomic Slice.

· GitHub

1 min read Original article ↗

GoDoc

Lock-Free MRMW Ring Buffer. It uses an implementation of Multi-Word Compare-and-Swap atomic operation, removes references by setting the associated slot to nil without losing consistency; ensures ordering and garbage collection.

The algorithm is from following Paper:

Paper:  A Practical Multi-Word Compare-and-Swap Operation
        by Timothy L. Harris, Keir Fraser and Ian A. Pratt;
        University of Cambridge Computer Laboratory, Cambridge,
        UK.

About

Lock-Free MRMW Ring Buffer. Atomic Slice.

Resources

Readme

MIT license

Activity

Stars

4 stars

Watchers

1 watching

Forks

1 fork

Releases

Packages

Used by

Contributors

Languages