Skip to content

UMD: Prevent ResourceCleaner timeout overflow on libstdc++ - #143

Merged
jwludzik merged 1 commit into
mainfrom
ResourceCleaner-overflow
Aug 7, 2026
Merged

UMD: Prevent ResourceCleaner timeout overflow on libstdc++#143
jwludzik merged 1 commit into
mainfrom
ResourceCleaner-overflow

Conversation

@jwludzik

@jwludzik jwludzik commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

PR is a copy of #142 with extra linting done

Avoid passing the max steady_clock time_point to cv.wait_until, which
can overflow internally on libstdc++ and cause undefined behavior.
Instead, use cv.wait() when no timeout is set, only computing an
actual wait_until deadline when a real idle timeout is active.
@jwludzik
jwludzik deleted the ResourceCleaner-overflow branch August 7, 2026 11:29

@cabelo cabelo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants