Module: Concurrent::ThreadSafe::Util
- Defined in:
- lib/concurrent-ruby/concurrent/thread_safe/util.rb,
lib/concurrent-ruby/concurrent/thread_safe/util/adder.rb,
lib/concurrent-ruby/concurrent/thread_safe/util/volatile.rb,
lib/concurrent-ruby/concurrent/thread_safe/util/striped64.rb,
lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb,
lib/concurrent-ruby/concurrent/thread_safe/util/xor_shift_random.rb,
lib/concurrent-ruby/concurrent/thread_safe/util/power_of_two_tuple.rb
Defined Under Namespace
Modules: XorShiftRandom
Constant Summary collapse
- FIXNUM_BIT_SIZE =
TODO (pitr-ch 15-Oct-2016): migrate to Utility::NativeInteger
(0.size * 8) - 2
- MAX_INT =
(2 ** FIXNUM_BIT_SIZE) - 1
- CPU_COUNT =
TODO (pitr-ch 15-Oct-2016): migrate to Utility::ProcessorCounter
16