aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2017-11-24 23:11:55 +0200
committerEli Zaretskii2017-11-24 23:11:55 +0200
commit86e6ed8521564105a42ae52851b6bff7e3a12a94 (patch)
tree199f58464d583b106bc2f34906da4b8a6e530b63 /src
parentf3008520376a5d0fe3aa13bc5fa7a103e1623055 (diff)
downloademacs-86e6ed8521564105a42ae52851b6bff7e3a12a94.tar.gz
emacs-86e6ed8521564105a42ae52851b6bff7e3a12a94.zip
; * src/thread.c (acquire_global_lock): Fix thinko in last change.
Diffstat (limited to 'src')
-rw-r--r--src/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread.c b/src/thread.c
index 1ded8f55f50..9e799ce47d4 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -101,7 +101,7 @@ acquire_global_lock (struct thread_state *self)
101 signal handler could have called maybe_reacquire_global_lock, in 101 signal handler could have called maybe_reacquire_global_lock, in
102 which case we are already holding the lock and shouldn't try 102 which case we are already holding the lock and shouldn't try
103 taking it again, or else we will hang forever. */ 103 taking it again, or else we will hang forever. */
104 if (!(self && self->not_holding_lock)) 104 if (!(self && !self->not_holding_lock))
105 sys_mutex_lock (&global_lock); 105 sys_mutex_lock (&global_lock);
106 post_acquire_global_lock (self); 106 post_acquire_global_lock (self);
107} 107}