Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PROTON-2792: [C++] check that scheduled tasks are active under lock #422

Closed
wants to merge 4 commits into from

Conversation

astitcher
Copy link
Member

Previously we checked whether the tasks were active without locking which was bad.

This is is an alternative fix (which has the correct semantics) to #421.

I think it probably still needs a test for the fixed behaviour and the correct semantics before merging. This would be new tests in container_test.cpp

Previously we checked whether the tasks were active without locking
which was bad.
@zlomek
Copy link

zlomek commented Mar 8, 2024

Yes, this fixes the issue while preserving the semantics, thank you.

@cliffjansen
Copy link
Contributor

+1
I will merge this.

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.

3 participants