make-semaphore

Name

make-semaphore -- Create a new semaphore object, with initial count of n.

Type: function

Synopsis

make-semaphore( n, sem);

Arguments

n

An instance of <integer>

Return Values

sem

An instance of <semaphore>

Description

Creates a new semaphore synchronization object, with an initial count of n. If omitted, n defaults to 0.