[threads] Remove mono_threads_create_thread (#4411)
[mono.git] / mono / metadata / threadpool-io.c
index 4f4fa7b1559c202ec6d0ef11435e43504759831c..4e3b30f011541330aa48beb58265f4b6d68a9d17 100644 (file)
@@ -556,7 +556,7 @@ initialize (void)
                g_error ("initialize: backend->init () failed");
 
        MonoError error;
-       if (!mono_thread_create_internal (mono_get_root_domain (), selector_thread, NULL, TRUE, SMALL_STACK, &error))
+       if (!mono_thread_create_internal (mono_get_root_domain (), selector_thread, NULL, MONO_THREAD_CREATE_FLAGS_THREADPOOL | MONO_THREAD_CREATE_FLAGS_SMALL_STACK, &error))
                g_error ("initialize: mono_thread_create_internal () failed due to %s", mono_error_get_message (&error));
 }