Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

Workaround for missing impl of WaitForMultipleObjectsEx on OSX/Unix. - #1693

Merged
jkotas merged 1 commit into
dotnet:masterfrom
christianscheuer:fix-finalizer
Aug 22, 2016
Merged

jkotas merged 1 commit into
dotnet:masterfrom
christianscheuer:fix-finalizer

Conversation

@christianscheuer

Copy link
Copy Markdown
Contributor

PalWaitForMultipleObjectsEx is not implemented on Unix / OSX.

But as long as the low memory notification is not implemented, there is no reason to not just call PalWaitForSingleObjectEx instead, which does work on Unix.
This prevents the finalizer thread from crashing on OSX.

@dnfclas

dnfclas commented Aug 22, 2016

Copy link
Copy Markdown

Hi @christianscheuer, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

@christianscheuer

Copy link
Copy Markdown
Contributor Author

See discussion: #1690

@jkotas

jkotas commented Aug 22, 2016

Copy link
Copy Markdown
Member

LGTM. Thank you!

@jkotas
jkotas merged commit e519abe into dotnet:master Aug 22, 2016
@christianscheuer

Copy link
Copy Markdown
Contributor Author

Thank you for your fast reply, Jan :)

@christianscheuer
christianscheuer deleted the fix-finalizer branch August 22, 2016 14:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants