mark at employease.com
Wed May 5 08:29:17 PDT 2004
On May 5, 2004, at 12:21 AM, Cole wrote:
> Im writing a threaded program to handle connections coming from squid.
> the program is working fine, except that i cant seem to set
> It doesnt give any errors when performing that command, and then when i
> check to see what SIGPIPE is set to, it apparently isnt SIG_IGN.
Are you using pthreads? Signal handling with the threads is tricky. Is
SIG_IGN set before child threads are launched?
You should use the pthread interface to handle it.
int laststate, lasttype;
pthread_sigmask(SIG_BLOCK, &sigs, NULL);
> So i started to search google and i did find a page where guys had the
> problem, but that was on linux and not FreeBSD.
> Im running FreeBSD 4.8-RELEASE
> gcc version 2.95.4 20020320 [FreeBSD]
> If anyone has any ideas please let me know.
> freebsd-hackers at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-hackers-unsubscribe at freebsd.org"
More information about the freebsd-hackers