Module: Concurrent::Synchronization::Volatile
Overview
Volatile
adds the attr_volatile class method when included.
foo = Foo.new
foo.
#=> 1
foo. = 2
#=> 2
Class Method Summary
Instance Method Summary
Class Method Details
.included(base)
[ GitHub ]# File 'lib/concurrent-ruby/concurrent/synchronization/volatile.rb', line 29
def self.included(base) base.extend(ClassMethods) end
Instance Method Details
#full_memory_barrier
[ GitHub ]# File 'lib/concurrent-ruby/concurrent/synchronization/volatile.rb', line 33
def Synchronization. end