mirror of
https://github.com/golang/go
synced 2024-11-19 00:14:39 -07:00
runtime: fix solaris netpoll
TBR=rsc R=rsc CC=golang-codereviews https://golang.org/cl/141030043
This commit is contained in:
parent
29225211e1
commit
97fdfdb52c
@ -273,7 +273,7 @@ func netpolllock(pd *pollDesc) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func netpollunlock(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
|
// make pd ready, newly runnable goroutines (if any) are returned in rg/wg
|
||||||
|
Loading…
Reference in New Issue
Block a user