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:
parent
c0fff4e0f6
commit
6e5e1b3728
@ -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) &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user