Pragma Max_Queue_Length (GNAT Reference Manual) (original) (raw)

Next: Pragma No_Body, Previous: Pragma Main_Storage, Up: Implementation Defined Pragmas [Contents][Index]


2.110 Pragma Max_Queue_Length

Syntax:

pragma Max_Queue_Length (static_integer_EXPRESSION);

This pragma is used to specify the maximum callers per entry queue for individual protected entries and entry families. It accepts a single integer (-1 or more) as a parameter and must appear after the declaration of an entry.

A value of -1 represents no additional restriction on queue length.