Skip to content

Commit 6852da1

Browse files
committed
修正 ae.h 中的一个注释 bug ,感谢 tomwang 的提醒:
http://www.redisbook.com/en/latest/internal/ae.html#comment-1143768250
1 parent 653779d commit 6852da1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ae.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ typedef void aeBeforeSleepProc(struct aeEventLoop *eventLoop);
8080
typedef struct aeFileEvent {
8181
// 事件类型掩码,值可以是 AE_READABLE 或 AE_WRITABLE ,或者两者的或
8282
int mask; /* one of AE_(READABLE|WRITABLE) */
83-
// 写事件函数
84-
aeFileProc *rfileProc;
8583
// 读事件函数
84+
aeFileProc *rfileProc;
85+
// 写事件函数
8686
aeFileProc *wfileProc;
8787
// 多路复用库的私有数据
8888
void *clientData;

0 commit comments

Comments
 (0)