aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime
diff options
context:
space:
mode:
authorDmitriy Vyukov <dvyukov@google.com>2014-09-04 11:34:01 +0400
committerDmitriy Vyukov <dvyukov@google.com>2014-09-04 11:34:01 +0400
commit97fdfdb52c28cab9251d1a610382d257c39682da (patch)
tree39069a2f3db808dee584e6080436daf0d100100a /src/pkg/runtime
parent29225211e1048f2c2eafd5015637f149a68ecf5c (diff)
downloadgo-97fdfdb52c28cab9251d1a610382d257c39682da.tar.xz
runtime: fix solaris netpoll
TBR=rsc R=rsc CC=golang-codereviews https://golang.org/cl/141030043
Diffstat (limited to 'src/pkg/runtime')
-rw-r--r--src/pkg/runtime/netpoll.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/netpoll.go b/src/pkg/runtime/netpoll.go
index 55f90f8c1e..08da87aa26 100644
--- a/src/pkg/runtime/netpoll.go
+++ b/src/pkg/runtime/netpoll.go
@@ -273,7 +273,7 @@ func netpolllock(pd *pollDesc) {
}
func netpollunlock(pd *pollDesc) {
- lock(&pd.lock)
+ unlock(&pd.lock)
}
// make pd ready, newly runnable goroutines (if any) are returned in rg/wg