Skip to content

Commit

Permalink
Merge pull request #124 from zbh255/master
Browse files Browse the repository at this point in the history
修复eventloop注释
  • Loading branch information
Allenxuxu authored Apr 22, 2022
2 parents 3ac80c5 + 1480e11 commit 16e310c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eventloop/eventloop.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (l *EventLoop) EnableReadWrite(fd int) error {
return l.poll.EnableReadWrite(fd)
}

// EnableRead 只注册可写事件
// EnableRead 只注册可读事件
func (l *EventLoop) EnableRead(fd int) error {
return l.poll.EnableRead(fd)
}
Expand Down

0 comments on commit 16e310c

Please sign in to comment.