Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ntherning
Copy link
Contributor

This is the behavior of .NET. After this patch the code on Mono for Windows will make sure the underlying native thread of a managed thread has died before Thread.Join() returns.

This PR builds on PR #5454 but makes it Windows specific. PR #5454 was reverted since it caused crashes on some Unix platforms.

This is the behavior of .NET. After this patch the code on Mono for Windows
will make sure the underlying native thread of a managed thread has died
before Thread.Join() returns.

This PR builds on PR mono#5454 but makes it Windows specific. PR mono#5454 was
reverted since it caused crashes on some Unix platforms.
Copy link
Member

@akoeplinger akoeplinger left a comment

Choose a reason for hiding this comment

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

LGTM, I assume Zoltan is still looking at the Unix portion?

@ntherning
Copy link
Contributor Author

I assume from @vargaz last comment on #5454 that he has this on his to do.

@kumpera
Copy link
Contributor

kumpera commented Sep 8, 2017

LGTM

@ntherning ntherning merged commit f98d079 into mono:master Sep 11, 2017
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
…ad-to-die-in-Thread-Join

Wait for the native thread to die in Thread.Join() on Windows

Commit migrated from mono/mono@f98d079
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants