sem.4freebsd

Langue: en

Version: 300778 (debian - 07/07/09)

Section: 4 (Pilotes et protocoles réseau)


BSD mandoc

NAME

sem - POSIX semaphores

SYNOPSIS

To compile this driver into the kernel, place the following lines 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.conf5:

 sem_load="YES"
 
"kldload sem"

DESCRIPTION

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

SEE ALSO

sem_destroy3, sem_getvalue3, sem_init3, sem_open3, sem_post3, sem_wait3, config(8), kldload(8), kldunload(8)

HISTORY

The facility appeared as a kernel option in Fx 3.0 . The kernel module appeared in Fx 5.0 .