mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue