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

Fixed concurrency bug in action scheduling in C runtime #2423

Merged
merged 5 commits into from
Oct 12, 2024
Merged

Conversation

Depetrol
Copy link
Collaborator

This is a companion PR to lf-lang/reactor-c#490 that introduces a test case for concurrent actions.

Copy link
Collaborator

@edwardalee edwardalee left a comment

Choose a reason for hiding this comment

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

Nice test! Pretty aggressive to create a hundred threads that all schedule physical actions.

@Depetrol
Copy link
Collaborator Author

Yes, this test with a hundred threads triggers the concurrency bug pretty consistently.

@lhstrh lhstrh added this pull request to the merge queue Oct 12, 2024
Merged via the queue into master with commit a881e99 Oct 12, 2024
24 checks passed
@lhstrh lhstrh deleted the fix-concurrency branch October 12, 2024 23:38
@Depetrol Depetrol mentioned this pull request Oct 13, 2024
@Depetrol Depetrol restored the fix-concurrency branch October 15, 2024 23:56
@lhstrh lhstrh changed the title Fix Unintended Action Override Fixed concurrency bug in action scheduling in C runtime Oct 31, 2024
@lhstrh lhstrh added the c Related to C target label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix c Related to C target
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants