Oberon || Library || Module Index || Search Engine || Definition || Module


Ulm's Oberon Library:
LocalSemaphores


NAME

LocalSemaphores - implementation of internal semaphores

SYNOPSIS

PROCEDURE Create(VAR sema: Semaphores.Semaphore);
PROCEDURE CreateN(VAR sema: Semaphores.Semaphore;
		  numberOfResources: INTEGER);

DESCRIPTION

LocalSemaphores offers an implementation of Semaphores for local semaphores which are not shared with foreign processes, i.e. processes which do not share the same address space.

CreateN creates a semaphore with the given number of free resources. Create is a shortform for CreateN with numberOfResources set to one.

DIAGNOSTICS

LocalSemaphores does not produce any error events.

SEE ALSO

Semaphores
general interface for semaphores

Edited by: borchert, last change: 1996/09/16, revision: 1.2, converted to HTML: 1997/04/28

Oberon || Library || Module Index || Search Engine || Definition || Module