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

Feature/deadlock detection #51

Merged
merged 2 commits into from
Oct 29, 2024
Merged

Feature/deadlock detection #51

merged 2 commits into from
Oct 29, 2024

Conversation

sbarral
Copy link
Member

@sbarral sbarral commented Oct 28, 2024

Implements deadlock detection and report it as an ExecutionError::Deadlock error.

As part of this work, all simulation methods that run the executor now report errors. Note that the ExecutionError::ModelError and ExecutionError::Panic error variants have been preemptively added but are not implemented yet.

Closes #28

TODO: return the list of models involved in a deadlock.

Note that Many execution errors are not implemented at all at the
moment and will need separate PRs, namely:
- Terminated
- ModelError
- Panic
@sbarral sbarral force-pushed the feature/deadlock-detection branch 2 times, most recently from ed5cb4b to 78596db Compare October 28, 2024 10:30
@sbarral sbarral requested a review from jauhien October 28, 2024 10:31
@sbarral sbarral self-assigned this Oct 28, 2024
@sbarral sbarral added the enhancement New feature or request label Oct 28, 2024
@sbarral sbarral added this to the v0.3 milestone Oct 28, 2024
@sbarral sbarral force-pushed the feature/deadlock-detection branch from 78596db to e7b6452 Compare October 28, 2024 11:25
@jauhien jauhien merged commit 8f70576 into main Oct 29, 2024
9 checks passed
@sbarral sbarral deleted the feature/deadlock-detection branch November 8, 2024 10:12
@sbarral sbarral mentioned this pull request Nov 10, 2024
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cycle detection
2 participants