mirror of https://github.com/redis/redis.git
Correct two spelling errors of comments
This commit is contained in:
parent
2bf8c2c130
commit
e1efbc8aeb
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_FILE_EVENTS set, file events are processed.
|
||||||
* if flags has AE_TIME_EVENTS set, time 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_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.
|
* 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. */
|
* The function returns the number of events processed. */
|
||||||
int aeProcessEvents(aeEventLoop *eventLoop, int flags)
|
int aeProcessEvents(aeEventLoop *eventLoop, int flags)
|
||||||
|
|
|
@ -1233,7 +1233,7 @@ void beforeSleep(struct aeEventLoop *eventLoop) {
|
||||||
if (moduleCount()) moduleReleaseGIL();
|
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
|
* API returned, and the control is going to soon return to Redis by invoking
|
||||||
* the different events callbacks. */
|
* the different events callbacks. */
|
||||||
void afterSleep(struct aeEventLoop *eventLoop) {
|
void afterSleep(struct aeEventLoop *eventLoop) {
|
||||||
|
|
Loading…
Reference in New Issue