Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
name5566 committed Nov 6, 2015
1 parent 54770c8 commit a11d17a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/tcp_conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (tcpConn *TCPConn) doWrite(b []byte) {
tcpConn.writeChan <- b
}

// b must not be modified by other goroutines
// b must not be modified by the others goroutines
func (tcpConn *TCPConn) Write(b []byte) {
tcpConn.Lock()
defer tcpConn.Unlock()
Expand Down

0 comments on commit a11d17a

Please sign in to comment.