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
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel