summaryrefslogtreecommitdiffstats
path: root/src/test/test-lock-util.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* lock-util: add a new lock_generic_with_timeout() helperLennart Poettering2023-11-021-0/+27
| | | | | | | This is just like lock_generic(), but applies the lock with a timeout. This requires jumping through some hoops by executing things in a child process, so that we can abort if necessary via a timer. Linux after all has no native way to take file locks with a timeout.
* include missing sys/file.h for LOCK_EXKhem Raj2023-08-021-0/+1
|
* lock-util: Add make_lock_file_at()Daan De Meyer2023-03-211-0/+37