On 17.05.2017 07:08, nore...@z505.com wrote:
what happens when the application is not idle, but sort of idle?

A new Queue event also only is serviced when no other previous events are peresent hence when the application gets "idle".

I don't know when exactly "OnIdle" is called. It can't be in a closed loop otherwise any application would always use 100% CPU.

Hence "OnIdle" is bound to work with an even greater latency than a decent queue entry like TThread.Queue or Application.QueueAsyncCall.

-Michael
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to