diff options
| author | Dmitriy Vyukov <dvyukov@google.com> | 2014-09-04 11:34:01 +0400 |
|---|---|---|
| committer | Dmitriy Vyukov <dvyukov@google.com> | 2014-09-04 11:34:01 +0400 |
| commit | 97fdfdb52c28cab9251d1a610382d257c39682da (patch) | |
| tree | 39069a2f3db808dee584e6080436daf0d100100a /src/pkg/runtime | |
| parent | 29225211e1048f2c2eafd5015637f149a68ecf5c (diff) | |
| download | go-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.go | 2 |
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 |
