X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fboehm-gc.c;h=96861349023d5a5a959b465e258da36c6675e6cc;hb=fcba39cda15a3296cd84bd02d27a8ae6b665c42c;hp=c6267750753a39072099612429ade243421566c8;hpb=7c85c560ea935b28c5e8492b1a0f6d5e6fe3c14e;p=mono.git diff --git a/mono/metadata/boehm-gc.c b/mono/metadata/boehm-gc.c index c6267750753..96861349023 100644 --- a/mono/metadata/boehm-gc.c +++ b/mono/metadata/boehm-gc.c @@ -173,6 +173,7 @@ mono_gc_base_init (void) memset (&cb, 0, sizeof (cb)); cb.thread_register = boehm_thread_register; cb.mono_method_is_critical = (gpointer)mono_runtime_is_critical_method; + cb.mono_gc_pthread_create = (gpointer)mono_gc_pthread_create; mono_threads_init (&cb, sizeof (MonoThreadInfo)); @@ -1217,7 +1218,7 @@ mono_gc_set_gc_callbacks (MonoGCCallbacks *callbacks) int mono_gc_pthread_create (pthread_t *new_thread, const pthread_attr_t *attr, void *(*start_routine)(void *), void *arg) { - return mono_threads_pthread_create (new_thread, attr, start_routine, arg); + return pthread_create (new_thread, attr, start_routine, arg); } int