[fpc-devel] daemonapp 100% cpu easting fix

Michael Van Canneyt michael at freepascal.org
Mon Nov 19 13:24:36 CET 2007



On Mon, 19 Nov 2007, Micha Nelissen wrote:

> Michael Van Canneyt wrote:
> > On linux, you can only do polling.
> 
> Of course you don't need polling, but the current architecture is only suited
> for polling.

On linux, everything comes down to polling. The only non-polling solution,
signals, are not suitable since you don't know in which thread the signal 
ends up, and you must start using complicated inter-thread communication. 

In practice, polling is simply much more easy and understandable.

Michael.



More information about the fpc-devel mailing list