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

.NET NSAutoreleasePool for every thread pool work item #11750

Closed
rolfbjarne opened this issue May 31, 2021 · 0 comments · Fixed by #12060
Closed

.NET NSAutoreleasePool for every thread pool work item #11750

rolfbjarne opened this issue May 31, 2021 · 0 comments · Fixed by #12060
Assignees
Labels
dotnet An issue or pull request related to .NET (6) dotnet-pri0 .NET 6: required for stable release feature A feature to be implemented
Milestone

Comments

@rolfbjarne
Copy link
Member

rolfbjarne commented May 31, 2021

.NET has support for an NSAutoreleasePool for thread pool work items (dotnet/runtime#47592), but it looks like this needs to be enabled (for both MonoVM and CoreCLR).

This issue is to track the required work in our own code.

Related test:

[Test]
#if NET
[Ignore ("https://github.com/dotnet/runtime/issues/32543")]
#endif
public void NSAutoreleasePoolInThreadPool ()

Depends on: dotnet/sdk#18000 #11852
Depends on: #11745.

Ref: dotnet/designs#197 (comment)
Ref: dotnet/designs#197 (comment)
Ref: dotnet/runtime#52023

@rolfbjarne rolfbjarne added dotnet An issue or pull request related to .NET (6) dotnet-pri0 .NET 6: required for stable release feature A feature to be implemented labels May 31, 2021
@rolfbjarne rolfbjarne added this to the .NET 6 milestone May 31, 2021
@rolfbjarne rolfbjarne self-assigned this May 31, 2021
rolfbjarne added a commit to rolfbjarne/xamarin-macios that referenced this issue Jul 1, 2021
vs-mobiletools-engineering-service2 pushed a commit to vs-mobiletools-engineering-service2/xamarin-macios that referenced this issue Jul 20, 2021
rolfbjarne added a commit to rolfbjarne/xamarin-macios that referenced this issue Jul 20, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dotnet An issue or pull request related to .NET (6) dotnet-pri0 .NET 6: required for stable release feature A feature to be implemented
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant