prometheus/storage/local/flock
Bjoern Rabenstein baca6faa1c Add double-start protection.
This mimics the locking leveldb is performing anyway. Advantages of
doing it separately:

- Should we ever replace the leveldb implementation by one without
  double-start protection, we are still good.

- In contrast to leveldb, the new code creates a meaningful error
  message.
2015-01-14 17:13:42 +01:00
..
flock.go Add double-start protection. 2015-01-14 17:13:42 +01:00
flock_plan9.go Add double-start protection. 2015-01-14 17:13:42 +01:00
flock_solaris.go Add double-start protection. 2015-01-14 17:13:42 +01:00
flock_test.go Add double-start protection. 2015-01-14 17:13:42 +01:00
flock_unix.go Add double-start protection. 2015-01-14 17:13:42 +01:00
flock_windows.go Add double-start protection. 2015-01-14 17:13:42 +01:00