The following example
defines a buffer protected object to smooth variations between the speed
of output of a producing task and the speed of input of some consuming
task. For instance, the producing task might have the following structure:
{
AI95-00433-01}
The buffer object contains an internal
array pool
of
person names characters
managed in a round-robin fashion. The
array pool
has two indices, an In_Index denoting the
index space
for the next input
person name character
and an Out_Index denoting the
index space
for the next output
person name character.