Structs§
Functions§
- clients_
lock_ exists - Check if clients lockfile exists
- clients_
lockfile_ path - Get path to clients lockfile
- delete_
clients_ lock - Delete clients lockfile
- delete_
server_ lock - Delete server lockfile
- ensure_
lockfile_ dir - Ensure lockfile directory exists
- lockfile_
dir - Get the lockfile directory
- read_
clients_ lock - Read clients lockfile with shared lock (allows concurrent reads)
- read_
json - Read JSON from file
- read_
server_ lock - Read server lockfile with shared lock (allows concurrent reads)
- server_
lock_ exists - Check if server lockfile exists
- server_
lockfile_ path - Get path to server lockfile
- with_
lock - Perform operation on file with exclusive lock (single writer, no readers)
- with_
shared_ lock - Perform read-only operation with shared lock (allows multiple concurrent readers)
- write_
clients_ lock - Write clients lockfile
- write_
json - Write JSON to file (truncates)
- write_
server_ lock - Write server lockfile