[threads] Factor common attach code in mono_thread_attach_internal (#3530)
authorLudovic Henry <ludovic@xamarin.com>
Thu, 8 Sep 2016 15:17:28 +0000 (17:17 +0200)
committerGitHub <noreply@github.com>
Thu, 8 Sep 2016 15:17:28 +0000 (17:17 +0200)
commit668ee608ebba8031ea189dc050470e49499bbc63
tree838c3f611e2104986d6a297d28b07f81fa857b43
parent8468603a7cf1b14309ebdcd5eccda005719f1db0
[threads] Factor common attach code in mono_thread_attach_internal (#3530)

* [threads] Allocate StartInfo in create_thread

* [threads] Put start_notify semaphore in StartInfo

* [threads] Factor common attach code in mono_thread_attach_internal

* [threads] Use same registered mechanism as mono-threads
mcs/class/corlib/System.Threading/Thread.cs
mcs/class/corlib/System/Environment.cs
mono/metadata/appdomain.c
mono/metadata/object-internals.h
mono/metadata/threads.c