Ewald,

Please kindly share your sample codes for both approaches.
Thanks a lot.

Dennis

Ewald wrote:

On 31 May 2013, at 13:31, Dennis wrote:

Is there something I can do to trap this external SIGPIPE?

You might try catching the signal using fpSignal (http://www.freepascal.org/docs-html/rtl/baseunix/fpsignal.html and http://unixhelp.ed.ac.uk/CGI/man-cgi?signal+2 <http://www.freepascal.org/docs-html/rtl/baseunix/fpsignal.html%20and%20http://unixhelp.ed.ac.uk/CGI/man-cgi?signal+2>) . I can send some example code if you want.

Or you could perhaps block this signal using pthread_sigmask (http://man7.org/linux/man-pages/man3/pthread_sigmask.3.html). I believe I have some example code of this too.

--
Ewald


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


No virus found in this message.
Checked by AVG - www.avg.com <http://www.avg.com>
Version: 2013.0.3343 / Virus Database: 3184/6370 - Release Date: 05/30/13

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to