[Lazarus] Most efficient way for polling (TTimer, OnIdle, TIdleTimer, TThread)
Luiz Americo Pereira Camara
luizamericop at gmail.com
Fri Oct 14 00:18:17 CEST 2016
I have a component that needs to poll a SimpleIPC server repeatedly (at
each 1s or so).
Currently i'm using a TTimer with a OnTimer handler that calls
Wondering if using TIdleTimer, Application.OnIdle(or AddIdleHandler) or a
separated TThread will be more efficient.
By efficiency i mean low resource usage, notebook battery friendly
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus