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

ruby-changes:69464

From: Steven <ko1@a...>
Date: Wed, 27 Oct 2021 02:11:01 +0900 (JST)
Subject: [ruby-changes:69464] f180fa6ca3 (master): Fix Typo

https://git.ruby-lang.org/ruby.git/commit/?id=f180fa6ca3

From f180fa6ca3f0972413ed37a72cde7b202a7ba85f Mon Sep 17 00:00:00 2001
From: Steven Nunez <octosteve@g...>
Date: Tue, 26 Oct 2021 11:51:35 -0400
Subject: Fix Typo

---
 doc/ractor.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/ractor.md b/doc/ractor.md
index 5264a768612..f5b1fb5403f 100644
--- a/doc/ractor.md
+++ b/doc/ractor.md
@@ -202,7 +202,7 @@ For message sending and receiving, there are two types of APIs: push type and pu https://github.com/ruby/ruby/blob/trunk/doc/ractor.md#L202
   * If the incoming port is closed for a Ractor, you can't `send` to the Ractor. If `Ractor.receive` is blocked for the closed incoming port, then it will raise an exception.
   * If the outgoing port is closed for a Ractor, you can't call `Ractor#take` and `Ractor.yield` on the Ractor. If ractors are blocking by `Ractor#take` or `Ractor.yield`, closing outgoing port will raise an exception on these blocking ractors.
   * When a Ractor is terminated, the Ractor's ports are closed.
-* There are 3 way to send an object as a message
+* There are 3 ways to send an object as a message
   * (1) Send a reference: Sending a shareable object, send only a reference to the object (fast)
   * (2) Copy an object: Sending an unshareable object by copying an object deeply (slow). Note that you can not send an object which does not support deep copy. Some `T_DATA` objects are not supported.
   * (3) Move an object: Sending an unshareable object reference with a membership. Sender Ractor can not access moved objects anymore (raise an exception) after moving it. Current implementation makes new object as a moved object for receiver Ractor and copies references of sending object to moved object.
-- 
cgit v1.2.1


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

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