lib/garcon/stash/journal.rb
# Lock the logfile across thread and process boundaries
#
Lock the logfile across thread and process boundaries
Lock the logfile across thread and process boundaries
def lock
        flush
        with_flock(File::LOCK_EX) do
          replay
          result = yield
          flush
          result
        end
      end
def lock flush with_flock ( File :: LOCK_EX ) do replay result = yield flush result end end
Lock the logfile across thread and process boundaries
Lock the logfile across thread and process boundaries