Sign in Join
FPDoc Onlineexperiment

TLazThreadedQueue.QueueSize property

Member of TLazThreadedQueuepublicIn unit LazCollections

Number of storage slots for items in the queue.

Declaration

pascal
property QueueSize: Integer read GetQueueSize;

Description

QueueSize is a read-only Integer property that indicates the number of storage slots available in the internal storage for the queue. The initial value for QueueSize is set using an argument passed to the constructor.

Use the Grow method to adjust the number of slots in the internal storage for the queue.

Values in the TotalItemsPushed, TotalItemsPopped, and QueueSize properties determine if storage and/or items are available in the queue.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.