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
This commit is contained in:
normal 2017-04-25 20:20:08 +00:00
parent c0fff4e0f6
commit 6e5e1b3728

View File

@ -266,7 +266,7 @@ rb_mutex_lock(VALUE self)
th->vm->sleeper++; th->vm->sleeper++;
/* /*
* Carefully! while some contended threads are in lock_func(), * 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. * and busy loop.
*/ */
if ((vm_living_thread_num(th->vm) == th->vm->sleeper) && if ((vm_living_thread_num(th->vm) == th->vm->sleeper) &&