2009-05-12 Kornél Pál <kornelpal@gmail.com>
authorKornél Pál <kornelpal@gmail.com>
Tue, 12 May 2009 09:07:56 +0000 (09:07 -0000)
committerKornél Pál <kornelpal@gmail.com>
Tue, 12 May 2009 09:07:56 +0000 (09:07 -0000)
commitfd195610e8ee86d336a0ae0ea44d3e247c7f35b9
tree32d2ab94736da7f5fde12e272e0e9b8fa51d4527
parenteda5c831dfdfac56a015897057ac0a63cee3078c
2009-05-12  Kornél Pál  <kornelpal@gmail.com>

* gc.c (mono_gc_init): Set gc_thread on creation. This avoids the
prevous wait that resulted in a deadlock on Windows when initializing
the runtime form DllMain. Also results in improved startup time.
(finalizer_thread): Get rid of thread_started_event.
* threads.c, threads-types.h (mono_thread_create_internal): Return the
resulting MonoThread.

Contributed under MIT/X11 license.

Also fixed ChangeLog encoding.

svn path=/trunk/mono/; revision=133959
mono/metadata/ChangeLog
mono/metadata/gc.c
mono/metadata/threads-types.h
mono/metadata/threads.c