Sha256: 489a16bbfc41f9e6ea5df4cb1c8f8745c8124c327ead7abedff180f5be05f0c1

Contents?: true

Size: 373 Bytes

Versions: 232

Compression:

Stored size: 373 Bytes

Contents

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

232 entries across 232 versions & 1 rubygems

Version Path
puppet-7.34.0 lib/puppet/concurrent/synchronized.rb
puppet-7.34.0-x86-mingw32 lib/puppet/concurrent/synchronized.rb
puppet-7.34.0-x64-mingw32 lib/puppet/concurrent/synchronized.rb
puppet-7.34.0-universal-darwin lib/puppet/concurrent/synchronized.rb
puppet-7.33.0 lib/puppet/concurrent/synchronized.rb
puppet-7.33.0-x86-mingw32 lib/puppet/concurrent/synchronized.rb
puppet-7.33.0-x64-mingw32 lib/puppet/concurrent/synchronized.rb
puppet-7.33.0-universal-darwin lib/puppet/concurrent/synchronized.rb
puppet-7.32.1 lib/puppet/concurrent/synchronized.rb
puppet-7.32.1-x86-mingw32 lib/puppet/concurrent/synchronized.rb
puppet-7.32.1-x64-mingw32 lib/puppet/concurrent/synchronized.rb
puppet-7.32.1-universal-darwin lib/puppet/concurrent/synchronized.rb
puppet-7.31.0 lib/puppet/concurrent/synchronized.rb
puppet-7.31.0-x86-mingw32 lib/puppet/concurrent/synchronized.rb
puppet-7.31.0-x64-mingw32 lib/puppet/concurrent/synchronized.rb
puppet-7.31.0-universal-darwin lib/puppet/concurrent/synchronized.rb
puppet-7.30.0 lib/puppet/concurrent/synchronized.rb
puppet-7.30.0-x86-mingw32 lib/puppet/concurrent/synchronized.rb
puppet-7.30.0-x64-mingw32 lib/puppet/concurrent/synchronized.rb
puppet-7.30.0-universal-darwin lib/puppet/concurrent/synchronized.rb