summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-13 14:08:37 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-12-13 14:08:37 +0000
commitf62310ac626f8fd729a066ba5f31619bf3d15f56 (patch)
tree4b375a817fe9e01d33a0d5ff6e4436f11c52d4c9 /thread.c
parent71ab182911602baa7facb1ffc71146ce8d376938 (diff)
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
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index 9c6ec5b73d..0ba41c7679 100644
--- a/thread.c
+++ b/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.