Граф коммитов

22 Коммитов

Автор SHA1 Сообщение Дата
Luke Gruber ad2c95dbdd [DOC] clarify situation for Ractor#send of T_DATA objects.
For copying, use language like "some" T_DATA objects not supported. This
is because objects like Time are supported, they don't refer to other
objects so it's okay.

For `send(obj, move: true)`, it's currently not supported to move any T_DATA objects.
2024-01-02 08:13:37 +09:00
Kazuhiro NISHIYAMA bdd350453c
Fix typos [ci skip] 2023-01-06 17:53:00 +09:00
John Bampton f430701b1b
[DOC] remove space from inside code span element 2022-12-29 22:20:39 +09:00
Steven Nunez b01657c470
[DOC] Fix case for new sentence. 2022-01-31 07:59:10 +09:00
Steven Nunez f180fa6ca3 Fix Typo 2021-10-26 13:10:49 -04:00
Koichi Sasada df9fac5ccd update doc/ractor.md about ivars 2021-10-23 01:32:55 +09:00
Koichi Sasada 3d4207f9bb
Need `#`
`shareable_constant_value` is magic comment.
2021-09-10 13:51:50 +09:00
Use amazing-print instead 189bf0106f Fix broken link
The document should point to doc/syntax/comments.rdoc (with an "s") as there currently no `doc/syntax/comment.rdoc`
2021-02-09 13:16:32 -08:00
Use amazing-print instead e7a831de8e Improve the wording surrounding `Proc#isolate`
This change moves the statement that `Proc#isolate` isn't yet exposed for Ruby users to the first time the method is mentioned. This is so that readers don't waste time trying to look it up in Ruby docs.

There was also unnecessary duplication:
```
Paragraph 1: "Given block will be isolated from outer scope by Proc#isolate."
Paragraph 2: "Given block will be isolated by Proc#isolate method"
```
So I combined the two sentences and slightly improved the wording for clarity.
2021-02-09 08:22:37 -05:00
Marc-Andre Lafortune 65787f18b9 Typo fixes [doc] 2021-01-12 23:30:47 -05:00
Adam Pogwizd 75212f2fc6
Update wording in ractor.md (#4056) [doc] 2021-01-12 23:28:34 -05:00
Marcus Stollsteimer 3108ad7bf3 [DOC] Fix grammar: "is same as" -> "is the same as" 2021-01-05 15:13:53 +01:00
Marcus Stollsteimer 228ad7d84b doc/ractor.md: Fix indentation
Reintroduce removed empty line to fix indentation on rendered page
(the first line is _not_ indented despite the leading spaces,
and ends up "outdented" compared to the rest of the block).

Also add a missing "-".
2020-12-27 22:39:42 +01:00
Marcus Stollsteimer ab6adf2772 doc/ractor.md: Fix indentation in code blocks
Remove unnecessary indentation of code in code blocks
(it is also not rendered properly in the generated HTML).

Also remove an empty line.
2020-12-26 22:51:48 +01:00
Koichi Sasada 8664c3ddef update doc/ractor.md 2020-12-24 17:51:47 +09:00
Ivan Denysov 435b619a3d fix phrasing in comment 2020-12-20 12:38:11 -05:00
Benoit Daloze bfc1c7205d Add Ractor#receive and Ractor.receive and use it in all places
* Keep Ractor#recv/Ractor.recv as an alias for now.
2020-10-10 12:48:09 +02:00
Svyatoslav Kryukov 3a3000f577 Fix traditional Ring example in Actor-model 2020-10-05 10:35:11 -04:00
Ashwin Elangovan 40c06e6fe1
Fixed some typos in ractor.md (#3522) 2020-09-05 15:58:31 -04:00
andrewmelis 72757fb596 Fix typo in ractor.md 2020-09-05 17:21:43 +09:00
Tom Schady de30450d91 Fix typos in Ractor README. 2020-09-04 12:41:35 -04:00
Koichi Sasada 79df14c04b Introduce Ractor mechanism for parallel execution
This commit introduces Ractor mechanism to run Ruby program in
parallel. See doc/ractor.md for more details about Ractor.
See ticket [Feature #17100] to see the implementation details
and discussions.

[Feature #17100]

This commit does not complete the implementation. You can find
many bugs on using Ractor. Also the specification will be changed
so that this feature is experimental. You will see a warning when
you make the first Ractor with `Ractor.new`.

I hope this feature can help programmers from thread-safety issues.
2020-09-03 21:11:06 +09:00