+2004-09-08 Bernie Solomon <bernard@ugsolutions.com>
+ * threads.c appdomain.c: fix typo in GC macro
+
2004-09-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* threads.c: don't call mono_thread_detach() in start_wrapper(),
#if 0
thread_handle = CreateThread (NULL, 0, unload_thread_main, &thread_data, 0, &tid);
#else
-#if defined(PLATFORM_WIN32) && defined (HAVE_GC_BOEHM)
+#if defined(PLATFORM_WIN32) && defined (HAVE_BOEHM_GC)
thread_handle = GC_CreateThread (NULL, 0, unload_thread_main, &thread_data, CREATE_SUSPENDED, &tid);
#else
thread_handle = CreateThread (NULL, 0, unload_thread_main, &thread_data, CREATE_SUSPENDED, &tid);
/* Create suspended, so we can do some housekeeping before the thread
* starts
*/
-#if defined(PLATFORM_WIN32) && defined(HAVE_GC_BOEHM)
+#if defined(PLATFORM_WIN32) && defined(HAVE_BOEHM_GC)
thread_handle = GC_CreateThread(NULL, default_stacksize, start_wrapper, start_info,
CREATE_SUSPENDED, &tid);
#else
return(NULL);
}
+#if defined(PLATFORM_WIN32) && defined(HAVE_BOEHM_GC)
+ thread=GC_CreateThread(NULL, default_stacksize, start_wrapper, start_info,
+ CREATE_SUSPENDED, &tid);
+#else
thread=CreateThread(NULL, default_stacksize, start_wrapper, start_info,
CREATE_SUSPENDED, &tid);
+#endif
if(thread==NULL) {
g_warning(G_GNUC_PRETTY_FUNCTION
": CreateThread error 0x%x", GetLastError());