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

ruby-changes:27433

From: nobu <ko1@a...>
Date: Mon, 25 Feb 2013 13:11:02 +0900 (JST)
Subject: [ruby-changes:27433] nobu:r39485 (trunk): thread.c: remove unnecessary sentence

nobu	2013-02-25 13:10:54 +0900 (Mon, 25 Feb 2013)

  New Revision: 39485

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

  Log:
    thread.c: remove unnecessary sentence
    
    * thread.c (thread_start): initialize method is not concerned with
      Thread.start and Thread.fork.

  Modified files:
    trunk/thread.c

Index: thread.c
===================================================================
--- thread.c	(revision 39484)
+++ thread.c	(revision 39485)
@@ -668,9 +668,6 @@ thread_s_new(int argc, VALUE *argv, VALU https://github.com/ruby/ruby/blob/trunk/thread.c#L668
  *  Basically the same as ::new. However, if class Thread is subclassed, then
  *  calling +start+ in that subclass will not invoke the subclass's
  *  +initialize+ method.
- *
- *  If you're going to subclass Thread, be sure to call super in your
- *  +initialize+ method, otherwise a ThreadError will be raised.
  */
 
 static VALUE

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

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