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

ska-sa / spead2 / 5334439569 / 1
75%
master: 79%

Build:
Build:
LAST BUILD BRANCH: fix-too-old-heaps
DEFAULT BRANCH: master
Ran 21 Jun 2023 01:13PM UTC
Files 82
Run time 47s
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

21 Jun 2023 01:03PM UTC coverage: 73.533%. First build
5334439569.1

push

github

bmerry
Eliminate some std::shared_ptr refcount twiddling

Readers typically have a chain of completion handlers, each of which
schedules the next. Previously, each completion handler would create a
new copy of the std::shared_ptr<stream_base::shared_state>, which would
cause atomic refcount twiddling potentially for every packet.

Instead, encapsulate the shared_ptr in an opaque `handler_context`
structure which gets passed along the chain. The `handler_context` is
marked as non-copyable, to ensure that we don't accidentally inc and dec
the ref-count unnecessarily. This revealed that using the legacy
`io_context::post` function doesn't support non-copyable completion
handlers, and we had to use `boost::asio::post` instead. That means
Boost 1.66 will be the minimum version.

5162 of 7020 relevant lines covered (73.53%)

53800.81 hits per line

Source Files on job 5334439569.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 5334439569
  • 5befeaa7 on github
  • Next Job for on chunk_stream_group (#5334955036.1)
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