Sha256: 1d8a525afa8a3621593c4c324c54185c651a1875a6cabd7189152dd7e135cbec

Contents?: true

Size: 700 Bytes

Versions: 152

Compression:

Stored size: 700 Bytes

Contents

module ThreadSafe
  module Util
    FIXNUM_BIT_SIZE = (0.size * 8) - 2
    MAX_INT         = (2 ** FIXNUM_BIT_SIZE) - 1
    CPU_COUNT       = 16 # is there a way to determine this?

    autoload :AtomicReference, 'thread_safe/util/atomic_reference'
    autoload :Adder,           'thread_safe/util/adder'
    autoload :CheapLockable,   'thread_safe/util/cheap_lockable'
    autoload :PowerOfTwoTuple, 'thread_safe/util/power_of_two_tuple'
    autoload :Striped64,       'thread_safe/util/striped64'
    autoload :Volatile,        'thread_safe/util/volatile'
    autoload :VolatileTuple,   'thread_safe/util/volatile_tuple'
    autoload :XorShiftRandom,  'thread_safe/util/xor_shift_random'
  end
end

Version data entries

152 entries across 144 versions & 47 rubygems

Version Path
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/thread_safe-0.3.6/lib/thread_safe/util.rb
mumukit-content-type-1.12.1 vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/lib/thread_safe/util.rb
mumukit-content-type-1.12.0 vendor/bundle/ruby/2.7.0/gems/thread_safe-0.3.6/lib/thread_safe/util.rb
logstash-output-scalyr-0.2.1.beta vendor/bundle/jruby/2.5.0/gems/thread_safe-0.3.6-java/lib/thread_safe/util.rb
logstash-output-scalyr-0.2.0 vendor/bundle/jruby/2.5.0/gems/thread_safe-0.3.6-java/lib/thread_safe/util.rb
logstash-output-scalyr-0.2.0.beta vendor/bundle/jruby/2.5.0/gems/thread_safe-0.3.6-java/lib/thread_safe/util.rb
logstash-output-scalyr-0.1.26.beta vendor/bundle/jruby/2.5.0/gems/thread_safe-0.3.6-java/lib/thread_safe/util.rb
logstash-output-scalyr-0.1.25.beta vendor/bundle/jruby/2.5.0/gems/thread_safe-0.3.6-java/lib/thread_safe/util.rb
logstash-output-scalyr-0.1.24.beta vendor/bundle/jruby/2.5.0/gems/thread_safe-0.3.6-java/lib/thread_safe/util.rb
logstash-output-scalyr-0.1.23.beta vendor/bundle/jruby/2.5.0/gems/thread_safe-0.3.6-java/lib/thread_safe/util.rb
logstash-output-scalyr-0.1.22.beta vendor/bundle/jruby/2.5.0/gems/thread_safe-0.3.6-java/lib/thread_safe/util.rb
logstash-output-scalyr-0.1.21.beta vendor/bundle/jruby/2.5.0/gems/thread_safe-0.3.6-java/lib/thread_safe/util.rb
mumukit-content-type-1.11.1 vendor/bundle/ruby/2.6.0/gems/thread_safe-0.3.6/lib/thread_safe/util.rb
logstash-output-scalyr-0.1.20.beta vendor/bundle/jruby/2.5.0/gems/thread_safe-0.3.6-java/lib/thread_safe/util.rb
logstash-output-scalyr-0.1.19.beta vendor/bundle/jruby/2.5.0/gems/thread_safe-0.3.6-java/lib/thread_safe/util.rb
logstash-output-scalyr-0.1.18.beta vendor/bundle/jruby/2.5.0/gems/thread_safe-0.3.6-java/lib/thread_safe/util.rb
logstash-output-scalyr-0.1.17.beta vendor/bundle/jruby/2.5.0/gems/thread_safe-0.3.6-java/lib/thread_safe/util.rb
logstash-output-scalyr-0.1.16.beta vendor/bundle/jruby/2.5.0/gems/thread_safe-0.3.6-java/lib/thread_safe/util.rb