projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5589845
)
[runtime] Fix a C&P problem introduced by d4052c556399c2ef72c79088c05a8ad6913647a6.
author
Zoltan Varga
<vargaz@gmail.com>
Sat, 3 Sep 2016 00:59:20 +0000
(
02:59
+0200)
committer
Zoltan Varga
<vargaz@gmail.com>
Sat, 3 Sep 2016 00:59:20 +0000
(
02:59
+0200)
mono/metadata/monitor.c
patch
|
blob
|
history
diff --git
a/mono/metadata/monitor.c
b/mono/metadata/monitor.c
index fe09d0c24b881a1c10ee7046c94cb5c5aba395e8..ef01f3d5305c7d40fd2194627280ea832f174698 100644
(file)
--- a/
mono/metadata/monitor.c
+++ b/
mono/metadata/monitor.c
@@
-930,7
+930,7
@@
retry_contended:
if (wait_ret == MONO_SEM_TIMEDWAIT_RET_ALERTED) {
LOCK_DEBUG (g_message ("%s: (%d) interrupted waiting, returning -1", __func__, id));
return -1;
- } else if (wait_ret == MONO_SEM_TIMEDWAIT_RET_
ALERTED
) {
+ } else if (wait_ret == MONO_SEM_TIMEDWAIT_RET_
TIMEDOUT
) {
LOCK_DEBUG (g_message ("%s: (%d) timed out waiting, returning FALSE", __func__, id));
return 0;
} else {