Unverified Commit baf5699d authored by zalj's avatar zalj Committed by GitHub
Browse files

fix comment of aeProcessEvents (#12884)

The implementation of aeProcessEvents seems have different behavior from
the top comment.
The implementation process file events first, then process time events.
parent 71f31da6
......@@ -343,8 +343,8 @@ static int processTimeEvents(aeEventLoop *eventLoop) {
return processed;
}
/* Process every pending time event, then every pending file event
* (that may be registered by time event callbacks just processed).
/* Process every pending file event, then every pending time event
* (that may be registered by file event callbacks just processed).
* Without special flags the function sleeps until some file event
* fires, or when the next time event occurs (if any).
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment