mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-27 14:39:40 -08:00
baca6faa1c
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. |
||
---|---|---|
.. | ||
flock.go | ||
flock_plan9.go | ||
flock_solaris.go | ||
flock_test.go | ||
flock_unix.go | ||
flock_windows.go |