TAsyncCallQueues record
Management information for asynchronous callbacks.
Declaration
TAsyncCallQueues = recordDescription
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
CritSec | The critical section for adding and removing queue elements. | |
Cur | The currently processed queue. Processed entries are removed. | |
Next | New calls are added to this queue. |
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
