[Lazarus] Sending messages

Michael Schnell mschnell at lumino.de
Fri Nov 25 09:24:33 CET 2011


On 11/24/2011 06:18 PM, Hans-Peter Diettrich wrote:
>
> Q: does the LCL support more than one message queue (the one in 
> Application)?
AFAIK, the implementation in most non-Windows LCLWidgetTypes is that 
multiple queues are created but the target of all of them is the main 
thread that provides a "loop" to "poll" all of them. And thus 
(disregarding the ordering or priority of the events) the resulting 
effect is the same as if there would be just a single Event Queue. LCL 
does not provide for means to have the user create additional queues or 
to allow for queues targeting other threads but the main thread.

-Michael




More information about the Lazarus mailing list