mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 08:08:53 -05:00
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.
This commit is contained in:
parent
71f31da66f
commit
baf5699d77
4
src/ae.c
4
src/ae.c
@ -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).
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user