Show: Delphi C++
Display Preferences

System.Generics.Collections.TThreadedQueue

From XE2 API Documentation
Jump to: navigation, search

System.TObject
TThreadedQueue

Delphi

TThreadedQueue<T> = class

C++

template<typename T> class PASCALIMPLEMENTATION TThreadedQueue__1 : public System::TObject

Properties

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

Description

Represents a generic threaded queue.

TThreadedQueue is a generic data structure that uses the FIFO (First In, First Out) standard to organize data. Unlike TQueue, TThreadedQueue uses threads on the PopItem and PushItem actions. To synchronize the threads and for a better management of the two actions, a TMonitor is used.

Use TThreadedQueue when you want to have a limited amount of time on pop and push actions.

See Also

Personal tools
Previous Versions
Translations