summaryrefslogtreecommitdiff
path: root/thread_sync.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-27 10:20:56 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-27 10:20:56 +0900
commit0c6f36668a11902903d85ada61a812d297d02de5 (patch)
tree0e976fcb5b4291258fa80c8f07249cad99d49cc6 /thread_sync.c
parent293c6c8cc3cd9a9cb2910672589ee3631e1f1653 (diff)
Adjusted spaces [ci skip]
Diffstat (limited to 'thread_sync.c')
-rw-r--r--thread_sync.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/thread_sync.c b/thread_sync.c
index afeaaa464e..492a44992e 100644
--- a/thread_sync.c
+++ b/thread_sync.c
@@ -292,7 +292,8 @@ do_mutex_lock(VALUE self, int interruptible_p)
mutex->th = th;
mutex_locked(th, self);
}
- } else {
+ }
+ else {
if (mutex->th == th) mutex_locked(th, self);
}
}