projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ba062e
)
[gc] mono_os_cond_timedwait returns -1 on timeout, not ETIMEDOUT
author
Ludovic Henry
<ludovic@xamarin.com>
Thu, 28 Jul 2016 22:06:54 +0000
(
00:06
+0200)
committer
Ludovic Henry
<ludovic@xamarin.com>
Thu, 28 Jul 2016 22:07:41 +0000
(
00:07
+0200)
mono/metadata/gc.c
patch
|
blob
|
history
diff --git
a/mono/metadata/gc.c
b/mono/metadata/gc.c
index a7230d05a3e97dc7e1f4e8ade74618ef0f828fe7..9bf14558becd5f69feebb879393fcb6cb411b37b 100644
(file)
--- a/
mono/metadata/gc.c
+++ b/
mono/metadata/gc.c
@@
-513,7
+513,7
@@
mono_domain_finalize (MonoDomain *domain, guint32 timeout)
mono_coop_mutex_unlock (&req->mutex);
return FALSE;
}
- } else if (res ==
ETIMEDOUT
) {
+ } else if (res ==
-1
) {
/* We leak the cond/mutex here */
mono_coop_mutex_unlock (&req->mutex);
return FALSE;