Skip to content

[d16-4][CoreFoundation] Make CFBundle.GetAll thread safe. - #7436

Closed
mandel-macaque wants to merge 2 commits into
dotnet:d16-4from
mandel-macaque:d16-4-bundle-backport
Closed

[d16-4][CoreFoundation] Make CFBundle.GetAll thread safe.#7436
mandel-macaque wants to merge 2 commits into
dotnet:d16-4from
mandel-macaque:d16-4-bundle-backport

Conversation

@mandel-macaque

Copy link
Copy Markdown
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 mandel-macaque changed the title [CoreFoundation] Make CFBundle.GetAll thread safe. [d16-4][CoreFoundation] Make CFBundle.GetAll thread safe. Nov 13, 2019

@rolfbjarne rolfbjarne left a comment

Copy link
Copy Markdown
Member

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 d16-4.

@dalexsoto

Copy link
Copy Markdown
Member

I have to agree with @rolfbjarne on this one, I do not think this deserves a QB insertion at this point

@monojenkins

Copy link
Copy Markdown
Contributor

Build success
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
Generator Diff (no change)
Test run succeeded

@mandel-macaque

Copy link
Copy Markdown
Contributor Author

Closing then.

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.

4 participants