mirror of
https://github.com/redis/redis.git
synced 2026-04-22 19:37:30 -04:00
Correct two spelling errors of comments
This commit is contained in:
2
src/ae.c
2
src/ae.c
@@ -344,8 +344,8 @@ static int processTimeEvents(aeEventLoop *eventLoop) {
|
||||
* if flags has AE_FILE_EVENTS set, file events are processed.
|
||||
* if flags has AE_TIME_EVENTS set, time events are processed.
|
||||
* if flags has AE_DONT_WAIT set the function returns ASAP until all
|
||||
* if flags has AE_CALL_AFTER_SLEEP set, the aftersleep callback is called.
|
||||
* the events that's possible to process without to wait are processed.
|
||||
* if flags has AE_CALL_AFTER_SLEEP set, the aftersleep callback is called.
|
||||
*
|
||||
* The function returns the number of events processed. */
|
||||
int aeProcessEvents(aeEventLoop *eventLoop, int flags)
|
||||
|
||||
@@ -1233,7 +1233,7 @@ void beforeSleep(struct aeEventLoop *eventLoop) {
|
||||
if (moduleCount()) moduleReleaseGIL();
|
||||
}
|
||||
|
||||
/* This function is called immadiately after the event loop multiplexing
|
||||
/* This function is called immediately after the event loop multiplexing
|
||||
* API returned, and the control is going to soon return to Redis by invoking
|
||||
* the different events callbacks. */
|
||||
void afterSleep(struct aeEventLoop *eventLoop) {
|
||||
|
||||
Reference in New Issue
Block a user