[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Management information for asynchronous callbacks.
Source position: forms.pp line 1274
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:
New calls are added to the Next 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 of further calls.
|
Inserts an asynchronous call into the queue. |
lazarus-ccr.sourceforge.net |