Networking Forums

Networking Forums > Computer Networking > Linux Networking > threading issue : SIGPIPE => SIG_IGN (writing to closed socket)

Reply
Thread Tools Display Modes

threading issue : SIGPIPE => SIG_IGN (writing to closed socket)

 
 
Oliver Kowalke
Guest
Posts: n/a

 
      12-30-2006, 09:34 AM
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to find UDP socket is closed in client and server program in C sandeep Linux Networking 1 09-22-2006 12:18 PM
select with timeout hangs when socket is closed eran borovik Linux Networking 0 10-19-2004 03:54 PM
hiper-threading? Hernán Castelo Windows Networking 5 10-05-2004 03:25 PM
socket issue.ping by IP but not by URL.HELP RAQ Windows Networking 2 05-28-2004 06:22 AM
P4 2.6GHz w/ Hyper-Threading vs. P M 1.5GHz newtothis Wireless Internet 1 01-09-2004 12:10 PM



1 2 3 4 5 6 7 8 9 10 11