diff options
author | Martin Möhrmann <martisch@uos.de> | 2016-02-24 11:55:20 +0100 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-02-24 18:42:29 +0000 |
commit | fdd0179bb1fdd70d405929b78c7d2fb6b61369b0 (patch) | |
tree | 5dadc692c0e8ec767846f9dfc0fee73338d0b5b8 /src/runtime/netpoll_solaris.go | |
parent | 4feb47bc765d2cd7d774b0a28b06e8d81a1affe7 (diff) | |
download | go-fdd0179bb1fdd70d405929b78c7d2fb6b61369b0.tar.gz go-fdd0179bb1fdd70d405929b78c7d2fb6b61369b0.zip |
all: fix typos and spelling
Change-Id: Icd06d99c42b8299fd931c7da821e1f418684d913
Reviewed-on: https://go-review.googlesource.com/19829
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/netpoll_solaris.go')
-rw-r--r-- | src/runtime/netpoll_solaris.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/netpoll_solaris.go b/src/runtime/netpoll_solaris.go index 86e9b997ef..53b2aacdb5 100644 --- a/src/runtime/netpoll_solaris.go +++ b/src/runtime/netpoll_solaris.go @@ -58,7 +58,7 @@ import "unsafe" // // The open and arming mechanisms are serialized using the lock // inside PollDesc. This is required because the netpoll loop runs -// asynchonously in respect to other Go code and by the time we get +// asynchronously in respect to other Go code and by the time we get // to call port_associate to update the association in the loop, the // file descriptor might have been closed and reopened already. The // lock allows runtime·netpollupdate to be called synchronously from @@ -125,7 +125,7 @@ func netpollopen(fd uintptr, pd *pollDesc) int32 { lock(&pd.lock) // We don't register for any specific type of events yet, that's // netpollarm's job. We merely ensure we call port_associate before - // asynchonous connect/accept completes, so when we actually want + // asynchronous connect/accept completes, so when we actually want // to do any I/O, the call to port_associate (from netpollarm, // with the interested event set) will unblock port_getn right away // because of the I/O readiness notification. |