• Yifan Gu's avatar
    pkg/util/flock: Fix the flock so it actually locks. · a489bd26
    Yifan Gu authored
    With this PR, the second call to `Acquire()` will block unless the lock is released (process exits).
    Also removed the memory mutex in the previous code since we don't need `Release()` here so no need to save and protect the local fd.
    
    Fix #42929.
    a489bd26
Name
Last commit
Last update
..
BUILD Loading commit data...
flock_other.go Loading commit data...
flock_unix.go Loading commit data...