summaryrefslogtreecommitdiff
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
commit6e5e1b37280fb5328fb6825c7ba58333e287f6de (patch)
treea30edacb1f6576b89fcc98e6359d50fa1306f46c /thread_sync.c
parentc0fff4e0f608ba3be7f9341980b03f3d9432ac7f (diff)
downloadbundler-6e5e1b37280fb5328fb6825c7ba58333e287f6de.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) &&