-
Notifications
You must be signed in to change notification settings - Fork 590
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
ThreadSanitizer reports data race #369
Comments
Suggestion:
I'm not sure how efficient this is, nor if it should use its own queue. The shuoldReturn dance also isn't all that easy to read, and it seems a bit of a roundabout way of solving the issue. It does, though, seem to solve it. Cheers Nik |
Thank you @niklassaers . Your way fixed the problem.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
on branch "feature/swift-3", NetworkFetcher.swift line 64, is
if cancelled { return }
I'm getting errors from the thread sanitiser:
Any suggestions how to best make this Bool cancelled thread safe?
Cheers
Nik
The text was updated successfully, but these errors were encountered: