• Ian Lance Taylor's avatar
    net: let OS-specific AddFD routine wake up polling thread. · 0caa0c09
    Ian Lance Taylor authored
    With gccgo some operating systems require using select rather
    than epoll or kevent.  Using select means that we have to wake
    up the polling thread each time we add a new file descriptor.
    This implements that in the generic code rather than adding
    another wakeup channel, even though nothing in the current net
    package uses the capability.
    
    R=rsc, iant2
    CC=golang-dev
    https://golang.org/cl/4284069
    0caa0c09
fd_freebsd.go 2.51 KB