Also, are there any examples for the atomic references being used? This is supposed to help with concurrency right?
t
thevery
07/09/2018, 11:12 PM
It is pretty much simple and straightforward, isn't it?
s
spierce7
07/10/2018, 3:44 AM
My thought would be to share the atomic reference between threads, but then the atomic reference wouldn't be frozen. It's not straightforward based on my understanding of the current rules.
o
olonho
07/10/2018, 6:02 AM
you can only write frozen object to atomic reference, but you could write different frozen objects to the same atomic reference