On 04/05/2012 03:25 PM, Michael Van Canneyt wrote:
The LCL does just that: polling....
With not embedded application (which of course is the main target for LCL application) Latency and performance optimizing is not a real issue, so this certainly is good enough.

But at least on Windows this is certainly not necessary, as all events are handled by the Windows message queue and automatically wake the main thread waiting for an events in the appropriate API call.

With other widget Types, that seemingly needs to have multiple queues this might be a lot more complicated.

-Michael


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to