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

[Xcode11.2][CoreFoundation] Make CFBundle.GetAll thread safe. #7435

Conversation

mandel-macaque
Copy link
Member

No description provided.

When working on xamarin/maccore#940 we noticed
that clone the array would be a better approach.

The CFArrayCreateCopy add some nice things:

* The pointer values from theArray are copied into the new array.
* The values are also retained by the new array.
* The count of the new array is the same as theArray
* The new array uses the same callbacks as theArray. [IMPORTANT]

Whith this in, we can have a better fix for xamarin/maccore#940
@mandel-macaque mandel-macaque added the requires-approval-before-merge The pull request requires special approval before it can be merged label Nov 13, 2019
@mandel-macaque
Copy link
Member Author

Manual backport because monojenkins could not deal with it.

@mandel-macaque mandel-macaque changed the title [CoreFoundation] Make CFBundle.GetAll thread safe. [Xcode11.2][CoreFoundation] Make CFBundle.GetAll thread safe. Nov 13, 2019
Copy link
Member

@rolfbjarne rolfbjarne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is important enough to try to get it into xcode11.2.

@mandel-macaque
Copy link
Member Author

@rolfbjarne asking on my side is free hehe

@monojenkins
Copy link
Collaborator

Build success
Build succeeded
⚠️ Mono built from source
API Diff (from stable)
API Diff (from PR only) (no change)
Generator Diff (no change)
Test run succeeded

@mandel-macaque
Copy link
Member Author

Closing since back porting and getting a release is not going to happen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires-approval-before-merge The pull request requires special approval before it can be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants