Current File : //opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/concurrent/synchronized.rb
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
Site is undergoing maintenance

PACJA Events

Maintenance mode is on

Site will be available soon. Thank you for your patience!