1
0
Fork 0
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:
naruse 2009-12-13 14:08:37 +00:00
parent 71ab182911
commit f62310ac62

View file

@ -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.