aboutsummaryrefslogtreecommitdiffstats
path: root/thread_sync.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-25 20:20:08 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-25 20:20:08 +0000
commit43fa921ed76d88f90453bb112bd1c41deb631295 (patch)
treea30edacb1f6576b89fcc98e6359d50fa1306f46c /thread_sync.c
parent66429b29cb0431137b6cf0319c2feaf5720139a2 (diff)
downloadruby-43fa921ed76d88f90453bb112bd1c41deb631295.tar.gz
thread_sync.c (rb_mutex_lock): spelling fix [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread_sync.c')
-rw-r--r--thread_sync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_sync.c b/thread_sync.c
index c3311da5fc..0a6203174e 100644
--- a/thread_sync.c
+++ b/thread_sync.c
@@ -266,7 +266,7 @@ rb_mutex_lock(VALUE self)
th->vm->sleeper++;
/*
* Carefully! while some contended threads are in lock_func(),
- * vm->sleepr is unstable value. we have to avoid both deadlock
+ * vm->sleeper is unstable value. we have to avoid both deadlock
* and busy loop.
*/
if ((vm_living_thread_num(th->vm) == th->vm->sleeper) &&