Factor copy/pasted code into mono_gstring_append_thread_name. (mono/mono#15920)
authorJay Krell <jaykrell@microsoft.com>
Wed, 31 Jul 2019 23:25:31 +0000 (16:25 -0700)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Wed, 31 Jul 2019 23:25:31 +0000 (01:25 +0200)
commitbc34151dc8e12be4ad90cb1b64141e0d5d796ea3
tree792e5e7ced0ad6c40e61c8b849ea00d8e1ccdbf0
parent1bdf64bd23ae0b6bf49528fbaf041f647f7606c6
Factor copy/pasted code into mono_gstring_append_thread_name. (mono/mono#15920)

Extracted from https://github.com/mono/mono/pull/15859.

Commit migrated from https://github.com/mono/mono/commit/180fcfe1fdbddb22b0c52c6e0b169b427b583ab3
src/mono/mono/metadata/object-internals.h
src/mono/mono/metadata/threads.c
src/mono/mono/mini/mini-exceptions.c