Re:Proposal of a new concurrency model for Ruby 3 [pdf]
by riffraff on Thursday September 08, 2016 @11:00AM
(#12453610)
you get a runtime error
[ Parent
| on HN ]
Re:Proposal of a new concurrency model for Ruby 3 [pdf]
by catnaroek on Thursday September 08, 2016 @01:32PM
(#12455132)
Is it a guaranteed runtime error, or a best-effort thing, à la Java's ConcurrentModificationException?
Re:Proposal of a new concurrency model for Ruby 3 [pdf]
by riffraff on Thursday September 08, 2016 @01:51PM
(#12455333)
as I understand it, a guaranteed error, it's at page 50 of the slide
• Accessing from the source guild is invalidated
• Cause exceptions and so on
• ex) obj = “foo”
ch.transfer_membership(obj)
obj.upcase #=> Error!!
p(obj) #=> Error!