All Manuals > LispWorks User Guide and Reference Manual > 35 The MP Package

NextPrevUpTopContentsIndex

make-semaphore

Function
Summary

Makes a semaphore.

Package

mp

Signature

make-semaphore &key name count => sem

Arguments

name

An object.

count

A non-negative fixnum.

Values

sem

A semaphore.

Description

The function make-semaphore returns a new semaphore for use with semaphore-acquire and semaphore-release. The unit count is initialized to count , which defaults to 1. If name is supplied, the semaphore will have that name. If name is not supplied, the semaphore will be given a unique anonymous name.

See also

semaphore-acquire
semaphore-count
semaphore-name
semaphore-release
semaphore-wait-count


LispWorks User Guide and Reference Manual - 21 Dec 2011

NextPrevUpTopContentsIndex