On Thu, 5 Apr 2012, Michael Schnell wrote:

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.

And how does the application see the events ?

Exactly, by polling Windows to see if there is an event available...

('polling' being the operative word here)

Events do not automagically appear in your application, even under windows.

They are not interrupts.

Michael.

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to