[fpc-devel] daemonapp 100% cpu easting fix

Micha Nelissen micha at neli.hopto.org
Mon Nov 19 13:30:47 CET 2007


Michael Van Canneyt wrote:
> 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. 

Use fpsigaction to mask the signal in the threads you don't want it? 
Perhaps this is already done so that all signals end up in main thread.

Anyway, I thought you mentioned a socket? You can do a blocking read on 
that?

Micha



More information about the fpc-devel mailing list