On 21/12/11 16:26, Felipe Monteiro de Carvalho wrote:
I tested with top and it doesn't even show my application in the top
20 users of CPU.
Anyway, I changed in this rev:
http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=rev&root=lazarus&revision=34354
It now adjusts the interval acoording to the installed timers, up to a
maximum of 1 second.
You're still "guessing" a timer interval of 10ms to add to the timer if
the select() doesn't time out. So your error can be as much as 990ms
per iteration of the loop. So much for precision then.
Henry
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal