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