Document what "memory model" guarantees each Atomic method provides
Closed this issue · 5 comments
pitr-ch commented
Document what "memory model" guarantees each Atomic method provides
pitr-ch commented
Follow up of ruby-concurrency/atomic#2
pitr-ch commented
It looks like the C code uses a full memory barrier, see https://github.com/ruby-concurrency/concurrent-ruby/blob/master/ext/concurrent/atomic_reference.c#L29-L38
jdantonio commented
@pitr-ch Has this been handled as part of the documentation of the synchronization layer?
pitr-ch commented
it was not. I'll add something quickly.
chrisseaton commented
I think the memory model is out of scope. It hasn't yet been adopted by Core.