chickadee » posix-semaphore » sem-init

sem-init semaphore shared? valueprocedure

Initializes a semaphore. If `shared?` is true then the semaphore will be shared with processes which are not its children, and so must reside in a POSIX shared memory range. `value` is an integer.