Linux now provides a complete implementation of POSIX semaphores.
Linux 2.6.0, glibc 2.3.
Standardized as an option in SUSv3.
POSIX semaphores provide a nicer API than System V semaphores:
But slightly less portable.
(C) 2006, Michael Kerrisk