Safelock is a file-based locking primitive that provides mutual exclusion between unrelated processes and threads. It offers advantages over POSIX and BSD file locks such as: compatibility with multi-threaded applications, support for lock attempt timeouts, detection of crashed lock holders, and detailed lock status (PID, lock age, custom data).
| Tags | locking Stable |
|---|---|
| Licenses | MIT/X |
| Operating Systems | Linux POSIX |
| Implementation | C pthreads |