зеркало из https://github.com/github/ruby.git
doc fix: mutex.lock => self [ruby-core:27115]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
71ab182911
Коммит
f62310ac62
2
thread.c
2
thread.c
|
@ -3148,7 +3148,7 @@ lock_interrupt(void *ptr)
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* mutex.lock => true or false
|
||||
* mutex.lock => self
|
||||
*
|
||||
* Attempts to grab the lock and waits if it isn't available.
|
||||
* Raises +ThreadError+ if +mutex+ was locked by the current thread.
|
||||
|
|
Загрузка…
Ссылка в новой задаче