1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix traditional Ring example in Actor-model

This commit is contained in:
Svyatoslav Kryukov 2020-10-03 12:48:02 +03:00 committed by Marc-André Lafortune
parent 20ad101701
commit 3a3000f577
Notes: git 2020-10-05 23:35:45 +09:00

View file

@ -664,7 +664,7 @@ r = Ractor.new do
end
RN.times{
Ractor.new r do |next_r|
r = Ractor.new r do |next_r|
next_r << Ractor.recv
end
}