Sha256: 3c2cfd2122a77393ce73b8a4ee68a3e7d0b8cb2db4d14d879b6c56e7b4ed636c

Contents?: true

Size: 425 Bytes

Versions: 266

Compression:

Stored size: 425 Bytes

Contents

module Concurrent

  # @!visibility private
  module ThreadSafe

    # @!visibility private
    module Util

      # TODO (pitr-ch 15-Oct-2016): migrate to Utility::NativeInteger
      FIXNUM_BIT_SIZE = (0.size * 8) - 2
      MAX_INT         = (2 ** FIXNUM_BIT_SIZE) - 1
      # TODO (pitr-ch 15-Oct-2016): migrate to Utility::ProcessorCounter
      CPU_COUNT       = 16 # is there a way to determine this?
    end
  end
end

Version data entries

266 entries across 246 versions & 46 rubygems

Version Path
spiral_form-0.1.1 vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util.rb
spiral_form-0.1.0 vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util.rb
zuora_connect_ui-0.7.1 vendor/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util.rb
zuora_connect_ui-0.7.0 vendor/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util.rb
ric-0.13.0 vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util.rb
cocoapods-dependency-html-0.0.2 vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util.rb
cocoapods-dependency-html-0.0.1 vendor/bundle/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util.rb
ric-0.12.2 vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util.rb
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util.rb
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.3/lib/concurrent/thread_safe/util.rb
vagrant-unbundled-2.2.4.0 vendor/bundle/ruby/2.6.0/gems/concurrent-ruby-1.1.5/lib/concurrent/thread_safe/util.rb
concurrent-ruby-1.1.5 lib/concurrent/thread_safe/util.rb
vagrant-unbundled-2.2.3.0 vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.3/lib/concurrent/thread_safe/util.rb
vagrant-unbundled-2.2.3.0 vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util.rb
tdiary-5.0.11 vendor/bundle/gems/concurrent-ruby-1.0.5/lib/concurrent/thread_safe/util.rb
tdiary-5.0.11 vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util.rb
nullifyable-0.1.0 vendor/bundle/gems/concurrent-ruby-1.1.4/lib/concurrent/thread_safe/util.rb
concurrent-ruby-1.1.4 lib/concurrent/thread_safe/util.rb
vagrant-unbundled-2.2.2.0 vendor/bundle/ruby/2.5.0/gems/concurrent-ruby-1.1.3/lib/concurrent/thread_safe/util.rb
concurrent-ruby-1.1.3 lib/concurrent/thread_safe/util.rb