libgo patch committed: Fix fd_select.go

Ian Lance Taylor iant@google.com
Mon Mar 28 18:36:00 GMT 2011


This patch fixes fd_select.go for the changes in FD handling in the
latest libgo update.  The code in libgo now takes advantage of the fact
that if you change the set of descriptors used by epoll, it is not
necessary to wake up the thread waiting in epoll_wait.  That is not true
of select: if you change the set of descriptors, you do have to wake up
the select.  This patch implements that.  Bootstrapped on
x86_64-unknown-linux-gnu.  Ran Go testsuite using fd_select.go instead
of fd_linux.go.  Committed to mainline.  This fixes PR go/48312.

Ian

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


More information about the Gcc-patches mailing list