-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
darwin: Use atomic for in_reenumerate flag #1399
base: master
Are you sure you want to change the base?
darwin: Use atomic for in_reenumerate flag #1399
Conversation
Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
1a6a971
to
3d16ec4
Compare
Thanks! This is indeed what I had in mind, but didn't have a chance to type it up because of end-of-year work craziness. Let's see if this works. If so, will need to see how far back these C atomics are supported on macOS, if not far, there are Apple-specific variants that could be used. |
Unfortunately it does not fix the issue. |
Thanks for testing! Maybe this still can be seen as an improvement and considered for inclusion, after 1.0.27 some time. |
If the PR is reviewed to be correct and fixes one existing code defect, I think we can still merge ti before 1.0.27 release, even though it does not fix issue #1386. |
I think this change is correct, and makes the code more correct, but I think there's an even bigger threading issue with nearby code. I'd suggest holding off merging this until I dig deeper... |
I hope we can find a surgical fix for #1386 and soon release 1.0.27 which is otherwise well tested, then apply this and all your recent darwin merge requests afterwards. |
Agreed.
Some of my patches I think should be considered for 1.0.27, I'll point them out... |
No description provided.