[Libevent-users] SIGPIPE in multithreaded program

William Ahern william at 25thandClement.com
Tue Jan 22 08:23:59 EST 2008


On Tue, Jan 22, 2008 at 02:08:40PM +0100, Hannah Schroeter wrote:
<snip>
> >With SIGPIPE the answer is simple, though. Block the signal from the main
> >thread before creating any other threads. All threads will inherit the
> >block, and SIGPIPE can never squeeze through.
> 
> I think you mean *ignore* SIGPIPE.
> 

Right. It's late. (Or was late; now it's morning again.)

At this point I've lost enough points that I ought to take a refresher
course myself ;) 



More information about the Libevent-users mailing list