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

loader: make AddUpdateCallback thread-safe and don't block signaling #41

Merged
merged 1 commit into from
Aug 14, 2020

Conversation

charlievieth
Copy link
Contributor

This commit makes the Loader.AddUpdateCallback() method thread-safe and
ensures that signaling callbacks never blocks. Previously, if signaling
a callback blocked it would deadlock the Loader.

@charlievieth charlievieth force-pushed the cev/callback branch 7 times, most recently from 604b006 to 2eca70a Compare August 14, 2020 03:58
This commit makes the Loader.AddUpdateCallback() method thread-safe and
ensures that signaling callbacks never blocks. Previously, if signaling
a callback blocked it would deadlock the Loader.
@charlievieth charlievieth merged commit fc1eac0 into master Aug 14, 2020
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