Sign in Join
FPDoc Onlineexperiment

TAsyncCallQueues record

In unit Forms

Management information for asynchronous callbacks.

Declaration

pascal
TAsyncCallQueues = record

Description

Two queues are used in TAsyncCallQueues. New calls are added to the Next queue. Cur contains the callbacks currently being processed in the queue.

When the application starts processing the calls, the Next queue becomes the Cur queue, and a new Next queue is created. This simplifies thread-safe addition in subsequent calls.

See also

Fields

CritSecThe critical section for adding and removing queue elements.
CurThe currently processed queue. Processed entries are removed.
NextNew calls are added to this queue.

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