void net·runtime_pollClose(PollDesc* pd) { #line 85 "/tmp/makerelease886106415/go/src/pkg/runtime/netpoll.goc" if(!pd->closing) runtime·throw("runtime_pollClose: close w/o unblock"); if(pd->wg != nil && pd->wg != READY) runtime·throw("runtime_pollClose: blocked write on closing descriptor"); if(pd->rg != nil && pd->rg != READY) runtime·throw("runtime_pollClose: blocked read on closing descriptor"); runtime·netpollclose(pd->fd); runtime·lock(&pollcache); pd->link = pollcache.first; pollcache.first = pd; runtime·unlock(&pollcache); }
void net·runtime_pollClose(PollDesc* pd) { #line 115 "C:\Users\gopher\AppData\Local\Temp\1\makerelease745458658\go\src\pkg\runtime\netpoll.goc" if(!pd->closing) runtime·throw("runtime_pollClose: close w/o unblock"); if(pd->wg != nil && pd->wg != READY) runtime·throw("runtime_pollClose: blocked write on closing descriptor"); if(pd->rg != nil && pd->rg != READY) runtime·throw("runtime_pollClose: blocked read on closing descriptor"); runtime·netpollclose(pd->fd); runtime·lock(&pollcache); pd->link = pollcache.first; pollcache.first = pd; runtime·unlock(&pollcache); }
void net·runtime_pollClose(PollDesc* pd) { #line 115 "/home/14/ren/source/golang/go/src/pkg/runtime/netpoll.goc" if(!pd->closing) runtime·throw("runtime_pollClose: close w/o unblock"); if(pd->wg != nil && pd->wg != READY) runtime·throw("runtime_pollClose: blocked write on closing descriptor"); if(pd->rg != nil && pd->rg != READY) runtime·throw("runtime_pollClose: blocked read on closing descriptor"); runtime·netpollclose(pd->fd); runtime·lock(&pollcache); pd->link = pollcache.first; pollcache.first = pd; runtime·unlock(&pollcache); }