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


Ulm's Oberon Library:
PrivateShards


NAME

PrivateShards - standard nontrivial shards implementation

SYNOPSIS

TYPE Pot = POINTER TO PotRec;
TYPE PotRec = RECORD (Shards.PotRec) END;
TYPE Lid = POINTER TO LidRec;
TYPE LidRec = RECORD (Shards.LidRec) END;


PROCEDURE Create(VAR pot: Shards.Pot; VAR lid: Shards.Lid);

DESCRIPTION

PrivateShards provides pairs of pots and lids intended to fit exactly to each other but to none else. Each call of Create yields a different pot. Uniqueness, however, can not be granted for pots created by different processes, although even in that case coincidences are very improbable.

SEE ALSO

Shards
abstraction for authorization protocols
PersistentObjects
abstraction for persistent objects
RandomGenerators
pseudo random number generation

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

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