1
0
mirror of https://github.com/golang/go synced 2024-11-18 13:24:39 -07:00

runtime: fix throw message in netpoll

R=dvyukov, r
CC=golang-dev
https://golang.org/cl/11761043
This commit is contained in:
Mikio Hara 2013-07-24 17:48:13 +09:00
parent cefdb9c286
commit a0935cc979

View File

@ -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);