Module fd_lock

Module fd_lock 

Source
Expand description

File locking utilities.

Structs§

RwLock
Advisory reader-writer lock for files.
RwLockReadGuard
RAII structure used to release the shared read access of a lock when dropped.
RwLockWriteGuard
RAII structure used to release the exclusive write access of a lock when dropped.

Constants§

LOCK_TOKEN 🔒

Functions§

lock_exists 🔒
new_lock
Creates a new lock file at the given path.