summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authorzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-27 03:58:36 +0000
committerzzak <zzak@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-02-27 03:58:36 +0000
commitf7a7138d5b9321d944d89625c250376074befa04 (patch)
tree0e39e366fdc7a2c6a5f90eefb3f51c3623aa5ca8 /thread.c
parente016ec17078c0c0e008b37caf78d03399a6853fd (diff)
* thread.c (rb_thread_wakeup): rdoc formatting
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/thread.c b/thread.c
index ff0df2be58..b674577676 100644
--- a/thread.c
+++ b/thread.c
@@ -2174,15 +2174,17 @@ rb_thread_exit(void)
* call-seq:
* thr.wakeup -> thr
*
- * Marks <i>thr</i> as eligible for scheduling (it may still remain blocked on
- * I/O, however). Does not invoke the scheduler (see <code>Thread#run</code>).
+ * Marks a given thread as eligible for scheduling, however it may still
+ * remain blocked on I/O.
+ *
+ * *Note:* This does not invoke the scheduler, see #run for more information.
*
* c = Thread.new { Thread.stop; puts "hey!" }
* sleep 0.1 while c.status!='sleep'
* c.wakeup
* c.join
*
- * <em>produces:</em>
+ * _produces:_
*
* hey!
*/