-
Notifications
You must be signed in to change notification settings - Fork 554
[CoreFoundation] CFBundle.GetAll better thread safe. #7425
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
[CoreFoundation] CFBundle.GetAll better thread safe. #7425
Conversation
The initial solution fixed the rance condition in which the index changed, but that did not guarantee that we would get the correct bundles. We now clone the CFArray (which also clones the callbacks set to the array) and iterate over it to make sure Apple does not do evil tings while we are iteraing. Better Fixes: https://github.com/xamarin/maccore/issues/940
|
Build failure Test results17 tests failed, 70 tests passed.Failed tests
|
|
HE0038 issues: https://github.com/xamarin/maccore/issues/581 |
|
@monojenkins backport xcode11.3 |
|
@monojenkins backport d16-5 |
|
@mandel-macaque backporting to xcode11.3 failed, the patch results in conflicts: Please backport manually! |
|
@monojenkins backport xcode11.2 |
|
@monojenkins backport d16-4 |
|
@mandel-macaque backporting to xcode11.2 failed, the patch results in conflicts: Please backport manually! |
|
@mandel-macaque backporting to d16-4 failed, the patch results in conflicts: Please backport manually! |
The initial solution fixed the rance condition in which the index changed, but that did not guarantee that we would get the correct bundles. We now clone the CFArray (which also clones the callbacks set to the array) and iterate over it to make sure Apple does not do evil tings while we are iteraing. Better Fixes: https://github.com/xamarin/maccore/issues/940
The initial solution fixed the rance condition in which the index
changed, but that did not guarantee that we would get the correct
bundles. We now clone the CFArray (which also clones the callbacks set
to the array) and iterate over it to make sure Apple does not do evil
things while we are iteraing.
Better Fixes: https://github.com/xamarin/maccore/issues/940