aboutsummaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-13 10:58:14 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-06-13 10:58:14 +0000
commit2cd45df9280ced17ac0049a4ce112b53629ff538 (patch)
treedec0346a0063b3e916addb929e1000ee5bc26960 /thread.c
parent399d2777e41350c8321243b27ad4aacb0f3c277c (diff)
downloadruby-2cd45df9280ced17ac0049a4ce112b53629ff538.tar.gz
add Thread.name and Thread.name= docs Feature #11251 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/thread.c b/thread.c
index 5218ba7262..e59727a506 100644
--- a/thread.c
+++ b/thread.c
@@ -2719,7 +2719,7 @@ rb_thread_safe_level(VALUE thread)
* call-seq:
* thr.name -> string
*
- * Dump the name, id, and status of _thr_ to a string.
+ * show the name of the thread.
*/
static VALUE
@@ -2734,7 +2734,8 @@ rb_thread_getname(VALUE thread)
* call-seq:
* thr.name=(name) -> string
*
- * Dump the name, id, and status of _thr_ to a string.
+ * set given name to the ruby thread.
+ * On some platform, it may set the name to pthread and/or kernel.
*/
static VALUE