g_assert (threadpool_io);
mono_mutex_init_recursive (&threadpool_io->updates_lock);
- mono_cond_init (&threadpool_io->updates_cond, NULL);
+ mono_cond_init (&threadpool_io->updates_cond, 0);
mono_gc_register_root ((void*)&threadpool_io->updates [0], sizeof (threadpool_io->updates), MONO_GC_DESCRIPTOR_NULL, MONO_ROOT_SOURCE_THREAD_POOL, "i/o thread pool updates list");
threadpool_io->updates_size = 0;
mono_trace (G_LOG_LEVEL_DEBUG, MONO_TRACE_THREADPOOL, "[%p] current worker parking", GetCurrentThreadId ());
- mono_cond_init (&cond, NULL);
+ mono_cond_init (&cond, 0);
mono_gc_set_skip_thread (TRUE);
event_requests = g_ptr_array_new ();
mono_mutex_init (&debugger_thread_exited_mutex);
- mono_cond_init (&debugger_thread_exited_cond, NULL);
+ mono_cond_init (&debugger_thread_exited_cond, 0);
mono_profiler_install ((MonoProfiler*)&debugger_profiler, runtime_shutdown);
mono_profiler_set_events (MONO_PROFILE_APPDOMAIN_EVENTS | MONO_PROFILE_THREADS | MONO_PROFILE_ASSEMBLY_EVENTS | MONO_PROFILE_JIT_COMPILATION | MONO_PROFILE_METHOD_EVENTS);
suspend_init (void)
{
mono_mutex_init (&suspend_mutex);
- mono_cond_init (&suspend_cond, NULL);
+ mono_cond_init (&suspend_cond, 0);
MONO_SEM_INIT (&suspend_sem, 0);
}
SGEN_ASSERT (0, num_threads == 1, "We only support 1 thread pool thread for now.");
mono_mutex_init (&lock);
- mono_cond_init (&work_cond, NULL);
- mono_cond_init (&done_cond, NULL);
+ mono_cond_init (&work_cond, 0);
+ mono_cond_init (&done_cond, 0);
thread_init_func = init_func;
idle_job_func = idle_func;