projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9357719
)
Fix bug #3205
author
Neale Ferguson
<neale@sinenomine.net>
Wed, 25 Apr 2012 19:48:25 +0000
(15:48 -0400)
committer
Neale Ferguson
<neale@sinenomine.net>
Wed, 25 Apr 2012 19:49:02 +0000
(15:49 -0400)
mono/io-layer/handles.c
patch
|
blob
|
history
diff --git
a/mono/io-layer/handles.c
b/mono/io-layer/handles.c
index cab7e849c6a2ac324da3d52fbf5b0367d242b670..7e8d9844403ab475a67ce483b62f44e84e5f7efb 100644
(file)
--- 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);