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

ruby-changes:27475

From: eregon <ko1@a...>
Date: Wed, 27 Feb 2013 19:58:44 +0900 (JST)
Subject: [ruby-changes:27475] eregon:r39527 (trunk): * vm.c (Thread): fix typos in overview

eregon	2013-02-27 19:54:11 +0900 (Wed, 27 Feb 2013)

  New Revision: 39527

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

  Log:
    * vm.c (Thread): fix typos in overview

  Modified files:
    trunk/ChangeLog
    trunk/vm.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39526)
+++ ChangeLog	(revision 39527)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Feb 27 19:53:32 2013  Benoit Daloze  <eregontp@g...>
+
+	* vm.c (Thread): fix typos in overview
+
 Wed Feb 27 13:21:00 2013  Zachary Scott  <zachary@z...>
 
 	* vm.c (Thread): Typo in overview, swap setting and getting
Index: vm.c
===================================================================
--- vm.c	(revision 39526)
+++ vm.c	(revision 39527)
@@ -2293,7 +2293,7 @@ Init_VM(void) https://github.com/ruby/ruby/blob/trunk/vm.c#L2293
      *	    thr = Thread.new { ... }
      *	    Thread.kill(thr) # sends exit() to thr
      *
-     *	Alternatively, you can use the instance method #exit, or any of it's
+     *	Alternatively, you can use the instance method #exit, or any of its
      *	aliases #kill or #terminate.
      *
      *	    thr.exit
@@ -2301,7 +2301,7 @@ Init_VM(void) https://github.com/ruby/ruby/blob/trunk/vm.c#L2301
      * 	=== Thread status
      *
      * 	Ruby provides a few instance methods for querying the state of a given
-     * 	thread. To get a string with a thread's current state use #status
+     * 	thread. To get a string with the current thread's state use #status
      *
      *	    thr = Thread.new { sleep }
      *	    thr.status # => "sleep"
@@ -2319,7 +2319,7 @@ Init_VM(void) https://github.com/ruby/ruby/blob/trunk/vm.c#L2319
      *
      * 	==== Fiber-local vs. Thread-local
      *
-     *	Each fiber has it's own bucket for Thread#[] storage, when you set a
+     *	Each fiber has its own bucket for Thread#[] storage. When you set a
      *	new fiber-local it is only accessible within this Fiber. To illustrate:
      *
      *	    Thread.new {
@@ -2382,7 +2382,7 @@ Init_VM(void) https://github.com/ruby/ruby/blob/trunk/vm.c#L2382
      *
      * 	You can also try ::pass, which attempts to pass execution to another
      * 	thread but is dependent on the OS whether a running thread will switch
-     * 	or not. The same goes for #priority, which let's you hint to the thread
+     * 	or not. The same goes for #priority, which lets you hint to the thread
      * 	scheduler which threads you want to take precedence when passing
      * 	execution. This method is also dependent on the OS and may be ignored
      * 	on some platforms.

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

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