Get the latest tech news

Show HN: Linux CLI tool to provide mutex locks for long running bash ops


Linux commandline tool to provide mutex/semaphore process safety for long running bash/sh operations. - bigattichouse/waitlock

Magic number (0x57414C4B = "WALK") Process metadata (PID, PPID, UID) Lock information (type, slot, max holders) Timestamps and command line CRC32 checksum for integrity Follow POSIX C89/C90 standards Use 4-space indentation Include comprehensive error handling Add tests for new features WaitLock was designed following UNIX philosophy principles and inspired by tools like flock(1), lockfile(1), and sem(1).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Linux CLI

Linux CLI

Photo of mutex locks

mutex locks

Photo of Linux CLI tool

Linux CLI tool