[fpc-devel] daemonapp 100% cpu easting fix

Steve Howe howesteve at gmail.com
Mon Nov 19 13:56:43 CET 2007


Hello all,
> > such as
> > changing the sleep time. Would it hurt to make it virtual ?
>
> Is it really necessary to do polling (with or without sleep) here ?
> Avoiding polling in any case would improve the performance and reduce
> intrusiveness.
On Windows you have alternatives such as someone posted in thread, but on 
Linux/Unix you must to do polling as far as know.

Anyway polling with sleep will consume very few cpu, acts very well overall 
and it's more portable.

-- 
Best Regards,
Steve Howe



More information about the fpc-devel mailing list