State tracker 2026 01 - #850
Open
baranovmv wants to merge 2 commits into
Open
Conversation
* add statetracker wait(), implement semaphore using mutex and cond var in platform without sem_clockwait() to prevent semaphore:timed_wait() to hang when changing sysem time, add test cases for state tracker and semaphore
baranovmv
force-pushed
the
state_tracker_2026_01
branch
from
September 5, 2026 10:49
a4f5f71 to
b2d312c
Compare
|
🤖 Pull request has failed checks and was automatically marked as work-in-progress. |
Rework by reusing roc::core::Mutex, and Mutex is no longer a friend for semaphores. Fix race[s] in StateTracker as gavv proposed [here](roc-streaming#814 (comment)) Fix Darwin semaphore timeout semantics
baranovmv
force-pushed
the
state_tracker_2026_01
branch
from
September 5, 2026 16:54
b2d312c to
08f1f44
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.
Proceeding PR #828 with some fixes, such as:
Fix race in state tracker and refactor
Rework by reusing roc::core::Mutex,
and Mutex is no longer a friend for semaphores.
Fix race[s] in StateTracker as gavv proposed
here
Fix Darwin semaphore timeout semantics