libgo patch committed: Check for EINTR in network code

Ian Lance Taylor iant@google.com
Wed Jan 26 22:49:00 GMT 2011


Since gccgo uses signals to manage garbage collection, having a system
call return EINTR most likely just means that the garbage collector
ran.  This patch fixes the networking code in libgo to just retry after
getting EINTR.  Bootstrapped and ran Go testsuite on
x86_64-unknown-linux-gnu.  Committed to mainline.

Ian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 1998 bytes
Desc: EINTR
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20110126/db5fd6a3/attachment.bin>


More information about the Gcc-patches mailing list