[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 86e6ed8: ; * src/thread.c (acquire_global_lock):
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] emacs-26 86e6ed8: ; * src/thread.c (acquire_global_lock): Fix thinko in last change. |
Date: |
Fri, 24 Nov 2017 16:13:04 -0500 (EST) |
branch: emacs-26
commit 86e6ed8521564105a42ae52851b6bff7e3a12a94
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
; * src/thread.c (acquire_global_lock): Fix thinko in last change.
---
src/thread.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/thread.c b/src/thread.c
index 1ded8f5..9e799ce 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -101,7 +101,7 @@ acquire_global_lock (struct thread_state *self)
signal handler could have called maybe_reacquire_global_lock, in
which case we are already holding the lock and shouldn't try
taking it again, or else we will hang forever. */
- if (!(self && self->not_holding_lock))
+ if (!(self && !self->not_holding_lock))
sys_mutex_lock (&global_lock);
post_acquire_global_lock (self);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] emacs-26 86e6ed8: ; * src/thread.c (acquire_global_lock): Fix thinko in last change.,
Eli Zaretskii <=