mschnell at lumino.de
Mon Aug 19 14:03:11 CEST 2013
On 08/19/2013 01:47 PM, Michael Van Canneyt wrote:
> YOU DO NOT NEED TO DO THIS.
> Just implement the loop and let it call CheckSynchronize at regular
> All the rest will be done for you.
Did you ever do embedded software ?
The result of the event in the main queue is not having something
displayed to a human, but may be a command to the attached "machine",
which might be really fast.
Thus regular polling is an absolute no-go here.
Doing the polling "slow" results in huge latency regarding the events.
Doing the polling "fast" results in a huge processor overhead and thus
in a huge overhead regarding anything else that the CPU is supposed to do.
More information about the fpc-devel