#lock-files #lock #deadlock

alive_lock_file

A simple crate to create lock files without creating dead locks

4 releases

0.2.0 Dec 15, 2024
0.1.2 Jul 30, 2024
0.1.1 Jul 22, 2024
0.1.0 Jul 22, 2024

#1279 in Filesystem

36 downloads per month

MIT license

5KB
89 lines

alive_lock_file

crates.io docs.rs license

Feature

  • join the provided path to the $XDG_RUNTIME_DIR env variable. This directory get cleanned automatically by the system, and is mount as a ramfs.
  • Atomic file creation

Dependencies

~0.2–11MB
~52K SLoC