Sha256: 82154a90c7fdcaa2e839adf4a05554e6009304e11d1aaf0f206cb26a787427a3

Contents?: true

Size: 635 Bytes

Versions: 112

Compression:

Stored size: 635 Bytes

Contents

require 'concurrent/atomic_reference/direct_update'
require 'concurrent/atomic_reference/numeric_cas_wrapper'

module Concurrent

  # @!macro atomic_reference
  #
  # @note Extends `Rubinius::AtomicReference` version adding aliases
  #   and numeric logic.
  #
  # @!visibility private
  # @!macro internal_implementation_note
  class RbxAtomicReference < Rubinius::AtomicReference
    alias _compare_and_set compare_and_set
    include Concurrent::AtomicDirectUpdate
    include Concurrent::AtomicNumericCompareAndSetWrapper

    alias_method :value, :get
    alias_method :value=, :set
    alias_method :swap, :get_and_set
  end
end

Version data entries

112 entries across 101 versions & 25 rubygems

Version Path
concurrent-ruby-1.0.4-java lib/concurrent/atomic_reference/rbx.rb
concurrent-ruby-1.0.4 lib/concurrent/atomic_reference/rbx.rb
concurrent-ruby-1.0.3-java lib/concurrent/atomic_reference/rbx.rb
concurrent-ruby-1.0.3 lib/concurrent/atomic_reference/rbx.rb
second_step-0.1.2 secondstep-notify-1.0.0-osx/lib/ruby/lib/ruby/gems/2.2.0/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic_reference/rbx.rb
tdiary-5.0.2 vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic_reference/rbx.rb
logstash-filter-delta-1.1.0 vendor/bundle/jruby/2.2.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/rbx.rb
logstash-filter-delta-1.0.1 vendor/bundle/jruby/2.2.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/rbx.rb
logstash-filter-base64-1.0.4 vendor/bundle/jruby/2.2.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/rbx.rb
logstash-filter-base64-1.0.3 vendor/bundle/jruby/2.2.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/rbx.rb
logstash-filter-delta-1.0.0 vendor/bundle/jruby/2.2.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/rbx.rb
logstash-filter-base64-1.0.2 vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/rbx.rb
logstash-filter-base64-1.0.1 vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/rbx.rb
logstash-filter-base64-1.0.0 vendor/bundle/jruby/2.3.0/gems/concurrent-ruby-1.0.0-java/lib/concurrent/atomic_reference/rbx.rb
tdiary-5.0.1 vendor/bundle/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic_reference/rbx.rb
concurrent-ruby-1.0.3.pre3-java lib/concurrent/atomic_reference/rbx.rb
concurrent-ruby-1.0.3.pre3 lib/concurrent/atomic_reference/rbx.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/concurrent-ruby-1.0.2/lib/concurrent/atomic_reference/rbx.rb
concurrent-ruby-1.0.2-java lib/concurrent/atomic_reference/rbx.rb
concurrent-ruby-1.0.2 lib/concurrent/atomic_reference/rbx.rb