[[runtime] Wait for the thread to really exit in Thread.Join (). Change the check...
authorZoltan Varga <vargaz@gmail.com>
Wed, 27 Sep 2017 00:08:31 +0000 (02:08 +0200)
committerGitHub <noreply@github.com>
Wed, 27 Sep 2017 00:08:31 +0000 (02:08 +0200)
commit52b96a92338bac9107cefc3cf316120c8449e397
tree24e47f31c1d44ce1746782cc254b4fd8debefbef
parent98e4187cf080c2004c1c1c268e1b43faf1b4613f
[[runtime] Wait for the thread to really exit in Thread.Join (). Change the check for started threads in mono_thread_set_name_internal () so it check the thread state and not the tid. Avoid setting the tid to 0 when the thread exits. (#5549)
mono/metadata/threads.c