• Dmitriy Vyukov's avatar
    runtime: refactor level-triggered IO support · 2ea859a7
    Dmitriy Vyukov authored
    Remove GOOS_solaris ifdef from netpoll code,
    instead introduce runtime edge/level triggered IO flag.
    Replace armread/armwrite with a single arm(mode) function,
    that's how all other interfaces look like and these functions
    will need to do roughly the same thing anyway.
    
    LGTM=rsc
    R=golang-codereviews, dave, rsc
    CC=golang-codereviews
    https://golang.org/cl/55500044
    2ea859a7
netpoll_windows.c 4.33 KB