Commit a0935cc9 authored by Mikio Hara's avatar Mikio Hara

runtime: fix throw message in netpoll

R=dvyukov, r
CC=golang-dev
https://golang.org/cl/11761043
parent cefdb9c2
...@@ -253,7 +253,7 @@ netpollblock(PollDesc *pd, int32 mode) ...@@ -253,7 +253,7 @@ netpollblock(PollDesc *pd, int32 mode)
return true; return true;
} }
if(*gpp != nil) if(*gpp != nil)
runtime·throw("epoll: double wait"); runtime·throw("netpollblock: double wait");
*gpp = g; *gpp = g;
runtime·park(runtime·unlock, &pd->Lock, "IO wait"); runtime·park(runtime·unlock, &pd->Lock, "IO wait");
runtime·lock(pd); runtime·lock(pd);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment