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

More thread name improvements #2853

Merged
merged 7 commits into from May 12, 2016
Merged

More thread name improvements #2853

merged 7 commits into from May 12, 2016

Conversation

alexrp
Copy link
Contributor

@alexrp alexrp commented Apr 8, 2016

No description provided.

@alexrp
Copy link
Contributor Author

alexrp commented Apr 8, 2016

build

@migueldeicaza
Copy link
Contributor

I love this patch, what are the next steps for it?

@alexrp
Copy link
Contributor Author

alexrp commented Apr 10, 2016

It just needs a review from @kumpera next week (esp. 02d2e4b since he filed the bug mentioned in it).

@dnfclas
Copy link

dnfclas commented Apr 11, 2016

@alexrp, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.

Thanks, DNFBOT;

Alex Rønne Petersen added 7 commits May 12, 2016 14:01
We now do this in the thread main function.
…et_name ().

This function has nothing to do with MonoThreadInfo structures, so the name is
somewhat misleading. It only requires a native thread ID.
…s non-null.

This is consistent with MS.NET behavior.
…d name at thread startup.

If we did consider this, an internal runtime thread that had its name set by a
mono_thread_set_name_internal (..., FALSE /*managed*/, ...) call prior to
starting would not have its native name set nor its name reported to the
profiler.
…permanent'.

The actual meaning is about whether or not the name is allowed to change after
having been set by the mono_thread_set_name_internal () call; it has nothing to
do with whether the call came from managed per se.
@alexrp
Copy link
Contributor Author

alexrp commented May 12, 2016

OK'd by @kumpera and was green prior to rebase, so merging.

@alexrp alexrp merged commit ce38129 into mono:master May 12, 2016
@alexrp alexrp deleted the thread-name-improvements branch November 29, 2017 00:09
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
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.

None yet

3 participants