module Concurrent::Synchronization
@!visibility private
Constants
- LockableObjectImplementation
@!visibility private @!macro internal_implementation_note
Public Class Methods
full_memory_barrier()
click to toggle source
# File lib/concurrent-ruby/concurrent/synchronization/full_memory_barrier.rb, line 7 def self.full_memory_barrier # relying on undocumented behavior of CRuby, GVL acquire has lock which ensures visibility of ivars # https://github.com/ruby/ruby/blob/ruby_2_2/thread_pthread.c#L204-L211 end