Skip to content

Conversation

@mandel-macaque
Copy link
Contributor

No description provided.

When working on https://github.com/xamarin/maccore/issues/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 https://github.com/xamarin/maccore/issues/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
Contributor 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
Contributor 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
Contributor 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