Class File
In: lib/puppet/external/lock.rb
Parent: Object

Methods

Public Instance methods

Get an exclusive (i.e., write) lock on the file, and yield to the block. If the lock is not available, wait for it without blocking other ruby threads.

Get a shared (i.e., read) lock on the file, and yield to the block. If the lock is not available, wait for it without blocking other ruby threads.

[Validate]