]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man7/sem_overview.7
standards.7: Add some more standards
[thirdparty/man-pages.git] / man7 / sem_overview.7
index 3fb98112f22aa0551702f6681afebbbc89acbf8a..cdf7958c56714d6a8cf069005344db736f879cef 100644 (file)
@@ -28,7 +28,7 @@
 sem_overview \- overview of POSIX semaphores
 .SH DESCRIPTION
 POSIX semaphores allow processes and threads to synchronize their actions.
-
+.PP
 A semaphore is an integer whose value is never allowed to fall below zero.
 Two operations can be performed on semaphores:
 increment the semaphore value by one
@@ -38,7 +38,7 @@ and decrement the semaphore value by one
 If the value of a semaphore is currently zero, then a
 .BR sem_wait (3)
 operation will block until the value becomes greater than zero.
-
+.PP
 POSIX semaphores come in two forms: named semaphores and
 unnamed semaphores.
 .TP
@@ -61,7 +61,7 @@ followed by one or more characters, none of which are slashes.
 Two processes can operate on the same named semaphore by passing
 the same name to
 .BR sem_open (3).
-
+.IP
 The
 .BR sem_open (3)
 function creates a new named semaphore or opens an existing
@@ -91,7 +91,7 @@ A process-shared semaphore must be placed in a shared memory region
 .BR shmget (2),
 or a POSIX shared memory object built created using
 .BR shm_open (3)).
-
+.IP
 Before being used, an unnamed semaphore must be initialized using
 .BR sem_init (3).
 It can then be operated on using
@@ -132,7 +132,7 @@ with names of the form
 rather than
 .B NAME_MAX
 characters.)
-
+.PP
 Since Linux 2.6.19, ACLs can be placed on files under this directory,
 to control object permissions on a per-user and per-group basis.
 .SH NOTES