/usr/lib/ruby/vendor_ruby/concurrent/synchronization/abstract_object.rb is in ruby-concurrent 1.0.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | module Concurrent
module Synchronization
# @!visibility private
# @!macro internal_implementation_note
class AbstractObject
# @abstract has to be implemented based on Ruby runtime
def initialize
raise NotImplementedError
end
# @!visibility private
# @abstract
def full_memory_barrier
raise NotImplementedError
end
def self.attr_volatile(*names)
raise NotImplementedError
end
end
end
end
|