threading issue : SIGPIPE => SIG_IGN (writing to closed socket)
- From: Oliver Kowalke <oliver.kowalke@xxxxxx>
- Date: Sat, 30 Dec 2006 16:53:06 +0100
Hello,
hopefully you can give me an answer how linux (kernel 2.6.x) reacts (I found
different opinoins in the inet):
In a multithreaded library a thread sets the sigaction SIG_IGN for signal
SIGPIPE if it tries to write to a socket and resets to the old sigaction
with SIG_DFL afterwards.
Will EPIPE allways be returned to the same thread if the socket was closed
before write (and RST was received)?
If yes is this guaranteed?
thanks and kind regards,
Oliver
.
- Prev by Date: Re: Dynamic library loader search path
- Next by Date: Re: Dynamic library loader search path
- Previous by thread: How to link in static objects from a static library?
- Index(es):
Relevant Pages
|