sem(4freebsd)

sem4freebsd

Posix semaphores

Usage

To compile this driver into the kernel, place the following line in your kernel configuration file:

options P1003_1B_SEMAPHORES

Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):

sem_load="YES"

To load the driver as a module at run-time, run the following command as root:

kldload sem

Overview

The sem facility provides system calls used by the standard C library (libc) to implement POSIX semaphores. This facility offers support for such functions as sem_init() and sem_wait(). It is available both as a kernel option for static inclusion and as a dynamic kernel module.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 6 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11–13

History

The sem facility appeared in FreeBSD 5.0.

From freebsd-manpages 12.2-2 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.