[前][次][番号順一覧][スレッド一覧]

ruby-changes:27468

From: zzak <ko1@a...>
Date: Wed, 27 Feb 2013 13:02:51 +0900 (JST)
Subject: [ruby-changes:27468] zzak:r39520 (trunk): * thread.c (rb_thread_wakeup): rdoc formatting

zzak	2013-02-27 12:58:36 +0900 (Wed, 27 Feb 2013)

  New Revision: 39520

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39520

  Log:
    * thread.c (rb_thread_wakeup): rdoc formatting

  Modified files:
    trunk/ChangeLog
    trunk/thread.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39519)
+++ ChangeLog	(revision 39520)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Feb 27 12:57:00 2013  Zachary Scott  <zachary@z...>
+
+	* thread.c (rb_thread_wakeup): rdoc formatting
+
 Wed Feb 27 12:53:00 2013  Zachary Scott  <zachary@z...>
 
 	* thread.c (rb_thread_group): rdoc formatting
Index: thread.c
===================================================================
--- thread.c	(revision 39519)
+++ thread.c	(revision 39520)
@@ -2174,15 +2174,17 @@ rb_thread_exit(void) https://github.com/ruby/ruby/blob/trunk/thread.c#L2174
  *  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!
  */

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]