This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/5379] sunrpc: Fix hangs in UDP RPC calls


------- Additional Comments From mikeh at fesnel dot com  2008-10-10 19:19 -------
Created an attachment (id=2993)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2993&action=view)
Proposed patch

Here's a different patch for the same bug. This deducts time spent in poll(2)
for each EINTR and reduces the timeout for the subsequent calls to poll(2).
Warning: This patch should compile but I don't have the ability to test it.

Caveats: No way to distinguish the time spent in the signal handler that
interrupted poll(2) from time actually spent polling.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #2102 is|0                           |1
           obsolete|                            |


http://sourceware.org/bugzilla/show_bug.cgi?id=5379

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]