[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Management information for asynchronous callbacks.
Source position: forms.pp line 1415
type TAsyncCallQueues = record |
||
CritSec: TRTLCriticalSection; |
|
The critical section for adding and removing queue elements. |
Cur: TAsyncCallQueue; |
|
The currently processed queue. Processed entries are removed. |
Next: TAsyncCallQueue; |
|
New calls are added to this queue. |
end; |
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.
|
Inserts an asynchronous call into the queue. |
Version 3.2 | Generated 2024-02-25 | Home |