projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d69157
)
[runtime] Add more logging in case mono_os_cond_timedwait () fails.
author
Zoltan Varga
<vargaz@gmail.com>
Mon, 26 Jun 2017 17:04:36 +0000
(13:04 -0400)
committer
Zoltan Varga
<vargaz@gmail.com>
Mon, 26 Jun 2017 17:04:45 +0000
(13:04 -0400)
mono/utils/mono-os-mutex.h
patch
|
blob
|
history
diff --git
a/mono/utils/mono-os-mutex.h
b/mono/utils/mono-os-mutex.h
index d6c5250256a84f7b504390c2697b3da61df5042c..3888d26441df95cd34c10822cd70c8db0ee8bef8 100644
(file)
--- a/
mono/utils/mono-os-mutex.h
+++ b/
mono/utils/mono-os-mutex.h
@@
-215,7
+215,7
@@
mono_os_cond_timedwait (mono_cond_t *cond, mono_mutex_t *mutex, guint32 timeout_
res = pthread_cond_timedwait (cond, mutex, &ts);
if (G_UNLIKELY (res != 0 && res != ETIMEDOUT))
- g_error ("%s: pthread_cond_timedwait failed with \"%s\" (%d)
", __func__, g_strerror (res), re
s);
+ g_error ("%s: pthread_cond_timedwait failed with \"%s\" (%d)
%ld %ld %d", __func__, g_strerror (res), res, ts.tv_sec, ts.tv_nsec, timeout_m
s);
return res != 0 ? -1 : 0;
}