• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hedzr / go-ringbuf
76%
master: 77%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v2.2.3
DEFAULT BRANCH: master
Repo Added 02 Jul 2020 08:52AM UTC
Token AwsDFfVTb5bKP1iotWW58dcaa6yeK70OL regen
Build 79 Last
Files 7
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix/mpmc-concurrent-write-race
branch: fix/mpmc-concurrent-write-race
CHANGE BRANCH
x
Reset
Sync Branches
  • fix/mpmc-concurrent-write-race
  • master
  • refs/tags/v0.8.8
  • refs/tags/v0.8.9
  • refs/tags/v0.9.0
  • refs/tags/v0.9.1
  • refs/tags/v1.0.0
  • refs/tags/v1.0.1
  • refs/tags/v1.0.3
  • refs/tags/v2.0.0
  • refs/tags/v2.0.1
  • refs/tags/v2.0.3
  • refs/tags/v2.1.0
  • refs/tags/v2.2.0
  • refs/tags/v2.2.1
  • refs/tags/v2.2.2
  • refs/tags/v2.2.3

12 Jan 2026 12:51AM UTC coverage: 76.497% (-0.7%) from 77.232%
20904878319

Pull #10

github

srgg
fix(mpmc): check CAS result before accessing ring buffer slot

The tail/head CAS result was ignored in EnqueueM, EnqueueMRich, Enqueue, and Dequeue. When two goroutines race for the same slot, the CAS-losing goroutine could use a stale index and overwrite the winner's data.

Fixes hedzr/go-ringbuf#9
Pull Request #10: fix(mpmc): check CAS result before accessing ring buffer slot

5 of 9 new or added lines in 1 file covered. (55.56%)

345 of 451 relevant lines covered (76.5%)

428315.21 hits per line

Relevant lines Covered
Build:
Build:
451 RELEVANT LINES 345 COVERED LINES
428315.21 HITS PER LINE
Source Files on fix/mpmc-concurrent-write-race
  • Tree
  • List 7
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
20904878319 fix/mpmc-concurrent-write-race fix(mpmc): check CAS result before accessing ring buffer slot The tail/head CAS result was ignored in EnqueueM, EnqueueMRich, Enqueue, and Dequeue. When two goroutines race for the same slot, the CAS-losing goroutine could use a stale index and o... Pull #10 23 Jan 2026 12:46AM UTC srgg github
76.5
See All Builds (31)

Badge your Repo: go-ringbuf

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc