DigiNews

Tech Watch Articles

← Back to articles

Things UNIX can do atomically

Quality: 8/10 Relevance: 9/10

Summary

This article catalogs UNIX-like/POSIX atomic operations and memory/file locking primitives to build thread- and multi-process-safe programs without mutexes. It covers atomic path operations, file descriptor locking with fcntl, mmap-based interprocess sharing, and GCC atomic builtins, with platform caveats (notably for NFS and macOS).

🚀 Service construit par Johan Denoyer