projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f300852
)
; * src/thread.c (acquire_global_lock): Fix thinko in last change.
author
Eli Zaretskii
<eliz@gnu.org>
Fri, 24 Nov 2017 21:11:55 +0000
(23:11 +0200)
committer
Eli Zaretskii
<eliz@gnu.org>
Fri, 24 Nov 2017 21:11:55 +0000
(23:11 +0200)
src/thread.c
patch
|
blob
|
history
diff --git
a/src/thread.c
b/src/thread.c
index 1ded8f55f50ab5f45681211fc9fa5004a3e11305..9e799ce47d45c729902ea042d2411f3f76034f9e 100644
(file)
--- 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);
}