refactor(sonar): migrate worker threads to std::jthread#5398
Draft
ReenigneArcher wants to merge 2 commits into
Draft
refactor(sonar): migrate worker threads to std::jthread#5398ReenigneArcher wants to merge 2 commits into
ReenigneArcher wants to merge 2 commits into
Conversation
Bundle ReportBundle size has no change ✅ |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5398 +/- ##
==========================================
- Coverage 27.15% 25.73% -1.42%
==========================================
Files 111 110 -1
Lines 25447 24166 -1281
Branches 11232 10528 -704
==========================================
- Hits 6910 6220 -690
+ Misses 17581 17171 -410
+ Partials 956 775 -181
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 65 files with indirect coverage changes Continue to review full report in Codecov by Harness.
|
Replaced std::thread with std::jthread across runtime services, platform publish/audio paths, streaming/video pipelines, and related unit tests. This modernizes thread lifetime management by using auto-joining threads, reducing manual join/detach risks and simplifying shutdown behavior.
a8d36ba to
d5677c1
Compare
Remove compiler version check for the experimental library flag on Apple and FreeBSD, ensuring it's consistently applied. Add missing SUNSHINE_LINK_OPTIONS to both the main sunshine target and test target for consistent linker configuration.
69c56a9 to
4c297e2
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Replaced std::thread with std::jthread across runtime services, platform publish/audio paths, streaming/video pipelines, and related unit tests. This modernizes thread lifetime management by using auto-joining threads, reducing manual join/detach risks and simplifying shutdown behavior.
Screenshot
Issues Fixed or Closed
Fixes sonar cpp:S6168
Roadmap Issues
Type of Change
Checklist
AI Usage
See our AI usage policy.