System.Generics.Collections.TThreadedQueue.QueueSize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property QueueSize: Integer read FQueueSize;

C++

__property int QueueSize = {read=FQueueSize, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.Generics.Collections.pas
System.Generics.Collections.hpp
System.Generics.Collections TThreadedQueue

Description

Specifies the length of the queue.

QueueSize specifies the length of the queue. QueueSize is set when a TThreadedQueue is created using Create. By default, QueueSize is 10, but it can be initialized with another value by giving this value to the Create method's AQueueDepth parameter. You can also use the Grow method to increase the length of the queue.

See Also