[fpc-pascal] Best way to check SimpleIPC for messages

Michael Schnell mschnell at lumino.de
Fri May 19 12:14:14 CEST 2017


On 17.05.2017 07:08, noreply at 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



More information about the fpc-pascal mailing list