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

ben-manes / caffeine / #3252
100%

Build:
DEFAULT BRANCH: master
Ran 14 Aug 2022 04:57PM UTC
Jobs 1
Files 77
Run time 2s
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

pending completion
#3252

push

github-actions

ben-manes
clarify the code's intent in the ring buffers

These changes have no visible performance impact but better align to the
expected behavior, rather than being implicitly correct.

The striped buffer would return a thread contention failed status if
initializing a new ring buffer, which is preallocated with the element.
The caller only checks if appending failed due to being full, so this
change to the correct result has no effect.

The ring buffer's write counter CAS is atomic and does not require any
acquire or release memory barrier ordering upon completion. A release
fence is performed when setting the array slot, so we can piggyback on
that. While this does not impact x86 (TSO), it could have a slight
difference on a weaker memory model (e.g. ARM).

7339 of 7463 relevant lines covered (98.34%)

0.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #3252.1 14 Aug 2022 04:57PM UTC 0
98.34
Source Files on build #3252
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #3252
  • ee79f843 on github
  • Prev Build on master
  • Next Build on master
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