mirror of
https://github.com/golang/go
synced 2024-11-18 11:04:42 -07:00
runtime: fix throw message in netpoll
R=dvyukov, r CC=golang-dev https://golang.org/cl/11761043
This commit is contained in:
parent
cefdb9c286
commit
a0935cc979
@ -253,7 +253,7 @@ netpollblock(PollDesc *pd, int32 mode)
|
||||
return true;
|
||||
}
|
||||
if(*gpp != nil)
|
||||
runtime·throw("epoll: double wait");
|
||||
runtime·throw("netpollblock: double wait");
|
||||
*gpp = g;
|
||||
runtime·park(runtime·unlock, &pd->Lock, "IO wait");
|
||||
runtime·lock(pd);
|
||||
|
Loading…
Reference in New Issue
Block a user