Sha256: 142f5b97ff143913aeb61427a35bf1bc4e215e31b3e303af2687ff261214e28e

Contents?: true

Size: 402 Bytes

Versions: 32

Compression:

Stored size: 402 Bytes

Contents

# frozen_string_literal: true

module Puppet
module Concurrent
# Including Puppet::Concurrent::Synchronized into a class when running on JRuby
# causes all of its instance methods to be synchronized on the instance itself.
# When running on MRI it has no effect.
if RUBY_PLATFORM == 'java'
  require 'jruby/synchronized'
  Synchronized = JRuby::Synchronized
else
  module Synchronized; end
end
end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
puppet-8.10.0 lib/puppet/concurrent/synchronized.rb
puppet-8.10.0-x86-mingw32 lib/puppet/concurrent/synchronized.rb
puppet-8.10.0-x64-mingw32 lib/puppet/concurrent/synchronized.rb
puppet-8.10.0-universal-darwin lib/puppet/concurrent/synchronized.rb
puppet-8.9.0 lib/puppet/concurrent/synchronized.rb
puppet-8.9.0-x86-mingw32 lib/puppet/concurrent/synchronized.rb
puppet-8.9.0-x64-mingw32 lib/puppet/concurrent/synchronized.rb
puppet-8.9.0-universal-darwin lib/puppet/concurrent/synchronized.rb
puppet-8.8.1 lib/puppet/concurrent/synchronized.rb
puppet-8.8.1-x86-mingw32 lib/puppet/concurrent/synchronized.rb
puppet-8.8.1-x64-mingw32 lib/puppet/concurrent/synchronized.rb
puppet-8.8.1-universal-darwin lib/puppet/concurrent/synchronized.rb
puppet-8.7.0 lib/puppet/concurrent/synchronized.rb
puppet-8.7.0-x86-mingw32 lib/puppet/concurrent/synchronized.rb
puppet-8.7.0-x64-mingw32 lib/puppet/concurrent/synchronized.rb
puppet-8.7.0-universal-darwin lib/puppet/concurrent/synchronized.rb
puppet-8.6.0 lib/puppet/concurrent/synchronized.rb
puppet-8.6.0-x86-mingw32 lib/puppet/concurrent/synchronized.rb
puppet-8.6.0-x64-mingw32 lib/puppet/concurrent/synchronized.rb
puppet-8.6.0-universal-darwin lib/puppet/concurrent/synchronized.rb