Skip to content

Conversation

@aviatesk
Copy link
Collaborator

Base.Condition is not thread-safe, causing errors like "lock must be held" when revise() is called multithreaded. While Threads.Condition could be used, Base.Event provides a simpler approach to achieve thread-safety, so the code has been rewritten to use it instead.

`Base.Condition` is not thread-safe, causing errors like "lock must be
held" when `revise()` is called multithreaded. While `Threads.Condition`
could be used, `Base.Event` provides a simpler approach to achieve
thread-safety, so the code has been rewritten to use it instead.
@aviatesk aviatesk merged commit 528ed4c into master Oct 30, 2025
14 checks passed
@aviatesk aviatesk deleted the avi/thread-safe branch October 30, 2025 16:37
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