Fix traditional Ring example in Actor-model
This commit is contained in:
parent
20ad101701
commit
3a3000f577
Notes:
git
2020-10-05 23:35:45 +09:00
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user