Index

Package: Queue_Pack_Protected_Generic (generic)

Description

generic
   type Element is private;
   Queue_Size : Positive := 10;

package Queue_Pack_Protected_Generic is
Uwe R. Zimmer, Australia, 2013

Tasks & Protected

Types

Marker (private)

subtype Marker is Natural range 0 .. Queue_Size - 1;
bounds chosen such that modulo arithmetic can be used

List (private)

type List is array (Marker'Range) of Element;
bounds chosen such that modulo arithmetic can be used

Constants & Global variables

Subprograms & Entries

Protected_Queue. Queue (private)

Queue: Queue_Type;