From 36a57a0e9263d8114f8f2fd67f5eddd5ef118040 Mon Sep 17 00:00:00 2001 From: Neale Ferguson Date: Wed, 25 Apr 2012 15:48:25 -0400 Subject: [PATCH] Fix bug #3205 --- mono/io-layer/handles.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mono/io-layer/handles.c b/mono/io-layer/handles.c index cab7e849c6a..7e8d9844403 100644 --- a/mono/io-layer/handles.c +++ b/mono/io-layer/handles.c @@ -333,7 +333,11 @@ static void _wapi_handle_init (struct _WapiHandleUnshared *handle, handle->ref = 1; if (!_WAPI_SHARED_HANDLE(type)) { + pthread_condattr_t attr; + pthread_condattr_init(&attr); + pthread_condattr_setclock(&attr, CLOCK_MONOTONIC); thr_ret = pthread_cond_init (&handle->signal_cond, NULL); + pthread_condattr_destroy(&attr); g_assert (thr_ret == 0); thr_ret = mono_mutex_init (&handle->signal_mutex, NULL); -- 2.25.1