class Puppet::Concurrent::Lock

A simple lock that at the moment only does any locking on jruby

Public Instance Methods

synchronize() { || ... } click to toggle source
   # File lib/puppet/concurrent/lock.rb
 9 def synchronize
10   yield
11 end