Closed
Description
There are currently a few steps to using the file hash locks
-
hash
+tag
→ filename - Check if lock exists
- Staleness checks
- Hard-coded timeouts
- Releasing locks
Making a fileLock_t
class which would auto-release locks in its destructor would lead to less bugs, along with easily specifying timeouts for longer-running jobs