Class: Puppet::Concurrent::Lock

Inherits:
Object
  • Object
show all
Includes:
Synchronized
Defined in:
lib/puppet/concurrent/lock.rb

Overview

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

Instance Method Summary collapse

Instance Method Details

#synchronizeObject



10
11
12
# File 'lib/puppet/concurrent/lock.rb', line 10

def synchronize
  yield
end