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

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

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

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

Jobs
ID Job ID Ran Files Coverage
1 5334439569.1 21 Jun 2023 01:13PM UTC 0
73.53
GitHub Action Run
Source Files on build 5334439569
Detailed source file information is not available for this build.
  • Back to Repo
  • 5befeaa7 on github
  • Next Build on chunk_stream_group (#5334955036)
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