From: Dmitriy Vyukov Date: Thu, 4 Sep 2014 07:34:01 +0000 (+0400) Subject: runtime: fix solaris netpoll X-Git-Tag: go1.4beta1~539 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=97fdfdb52c28cab9251d1a610382d257c39682da;p=gostls13.git runtime: fix solaris netpoll TBR=rsc R=rsc CC=golang-codereviews https://golang.org/cl/141030043 --- 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