Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6852da1

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

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
typedefstructaeFileEvent {
8181
// 事件类型掩码,值可以是 AE_READABLE 或 AE_WRITABLE ,或者两者的或
8282
intmask;/* 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)

[8]ページ先頭

©2009-2025 Movatter.jp