Sha256: 1212a10614f7431b536c507a86fac7adc19a2a3bc9ef92644701ced4f31ae56a

Contents?: true

Size: 243 Bytes

Versions: 112

Compression:

Stored size: 243 Bytes

Contents

require 'puppet/concurrent/synchronized'

module Puppet
module Concurrent

# A simple lock that at the moment only does any locking on jruby
class Lock
  include Puppet::Concurrent::Synchronized
  def synchronize
    yield
  end
end

end
end

Version data entries

112 entries across 112 versions & 1 rubygems

Version Path
puppet-6.29.0 lib/puppet/concurrent/lock.rb
puppet-6.29.0-x86-mingw32 lib/puppet/concurrent/lock.rb
puppet-6.29.0-x64-mingw32 lib/puppet/concurrent/lock.rb
puppet-6.29.0-universal-darwin lib/puppet/concurrent/lock.rb
puppet-6.28.0 lib/puppet/concurrent/lock.rb
puppet-6.28.0-x86-mingw32 lib/puppet/concurrent/lock.rb
puppet-6.28.0-x64-mingw32 lib/puppet/concurrent/lock.rb
puppet-6.28.0-universal-darwin lib/puppet/concurrent/lock.rb
puppet-6.27.0 lib/puppet/concurrent/lock.rb
puppet-6.27.0-x86-mingw32 lib/puppet/concurrent/lock.rb
puppet-6.27.0-x64-mingw32 lib/puppet/concurrent/lock.rb
puppet-6.27.0-universal-darwin lib/puppet/concurrent/lock.rb
puppet-6.26.0 lib/puppet/concurrent/lock.rb
puppet-6.26.0-x86-mingw32 lib/puppet/concurrent/lock.rb
puppet-6.26.0-x64-mingw32 lib/puppet/concurrent/lock.rb
puppet-6.26.0-universal-darwin lib/puppet/concurrent/lock.rb
puppet-6.25.1 lib/puppet/concurrent/lock.rb
puppet-6.25.1-x86-mingw32 lib/puppet/concurrent/lock.rb
puppet-6.25.1-x64-mingw32 lib/puppet/concurrent/lock.rb
puppet-6.25.1-universal-darwin lib/puppet/concurrent/lock.rb