sem_overview(7) Miscellaneous Information Manual sem_overview(7) sem_overview - POSIX POSIX . , . : (sem_post(3)) (sem_wait(3)). , sem_wait(3) , . POSIX: . / -- ( null ) NAME_MAX-4 (. ., 251) , ( ). sem_open(3). sem_open(3) . sem_post(3) sem_wait(3). , sem_close(3). , sem_unlink(3). ( ) . , ( ) ( ). , , . (, System V, shmget(2), POSIX, shm_open(3)). sem_init(3). sem_post(3) sem_wait(3). , sem_destroy(3) ( ). POSIX Linux. Before Linux 2.6, Linux supported only unnamed, thread-shared semaphores. On a system with Linux 2.6 and a glibc that provides the NPTL threading implementation, a complete implementation of POSIX semaphores is provided. POSIX . sem_unlink(3), . , POSIX, librt cc -pthread. Linux, , /dev/shm, sem. ( NAME_MAX-4, NAME_MAX ). Linux 2.6.19, ACL. System V (semget(2), semop(2) . .) -- . POSIX System V; , POSIX ( ), System V. POSIX sem_wait(3). sem_close(3), sem_destroy(3), sem_getvalue(3), sem_init(3), sem_open(3), sem_post(3), sem_unlink(3), sem_wait(3), pthreads(7), shm_overview(7) Alexander Golubev , Azamat Hackimov , Hotellook, Nikita , Spiros Georgaras , Vladislav , Yuri Kozlov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , <>. Linux man-pages 6.8 2 2024 . sem_overview(7)