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

Fix for 32bit deadlock in SafeList #202

Merged

Conversation

lm2s
Copy link
Contributor

@lm2s lm2s commented Mar 23, 2018

Replaced Mutex (pthread) in SafeList with DispatchQueue. It provides thread safety by ensuring serial execution/access to the list.

This fixes the deadlock issue happening on 32 bit devices, while maintaining thread safety when accessing the list.

Replaced Mutex (pthread) in SafeList with DispatchQueue. It provides thread safety by ensuring serial execution/access to the list.
@lm2s lm2s mentioned this pull request Mar 23, 2018
@malcommac malcommac changed the base branch from master to feature/fix_deadlocks March 28, 2018 19:11
@malcommac malcommac merged commit 58d2562 into malcommac:feature/fix_deadlocks Mar 28, 2018
@malcommac malcommac added this to the 3.2.2 milestone Mar 28, 2018
@malcommac malcommac added the bug label Mar 28, 2018
@malcommac malcommac self-requested a review March 28, 2018 19:11
@malcommac
Copy link
Owner

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants