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

ska-sa / spead2 / 7057633893
70%
master: 79%

Build:
Build:
LAST BUILD BRANCH: v4.4.1
DEFAULT BRANCH: master
Ran 01 Dec 2023 08:35AM UTC
Jobs 1
Files 84
Run time 6s
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

01 Dec 2023 08:29AM UTC coverage: 70.111% (+0.2%) from 69.961%
7057633893

Pull #294

github

bmerry
Optimise memory use in for loop over stream

Heaps can use memory from a fixed-capacity memory pool, so we want to
restrict the number in flight at a time. When doing `h = stream.pop()`,
it's possible that the ringbuffer was previously full, and popping makes
space and unblocks a receive thread that then allocates a new heap. That
can happen before the memory in the old `h` is freed by the assignment
operator.

First clear the old heap before popping, to avoid this condition.
Pull Request #294: Implement range-based for loop over ring_stream

37 of 38 new or added lines in 2 files covered. (97.37%)

4872 of 6949 relevant lines covered (70.11%)

91912.02 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7057633893.1 01 Dec 2023 08:35AM UTC 0
70.11
GitHub Action Run
Source Files on build 7057633893
Detailed source file information is not available for this build.
  • Back to Repo
  • Pull Request #294
  • PR Base - master (#7015449891)
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