diff options
author | Yossi Gottlieb <yossigo@gmail.com> | 2013-01-27 09:49:15 +0200 |
---|---|---|
committer | Yossi Gottlieb <yossigo@gmail.com> | 2013-01-27 09:49:15 +0200 |
commit | acb73e8a972adadd31450dca9ab8cf74cc82a029 (patch) | |
tree | ccd1ca55a85aec0af719c8ed1012f13883cd6c15 /src/ae.c | |
parent | d195e8bb8225bae62b8a714b9c02a472bc601e2f (diff) | |
parent | c17a7f6fbc82dc6ab34a788f65adc16e84b5777c (diff) | |
download | redis-2.6.9-1.tar.gz |
Merge upstream Redis 2.6.9.2.6.9-1
Diffstat (limited to 'src/ae.c')
-rw-r--r-- | src/ae.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -309,7 +309,7 @@ static int processTimeEvents(aeEventLoop *eventLoop) { /* Process every pending time event, then every pending file event * (that may be registered by time event callbacks just processed). * Without special flags the function sleeps until some file event - * fires, or when the next time event occurrs (if any). + * fires, or when the next time event occurs (if any). * * If flags is 0, the function does nothing and returns. * if flags has AE_ALL_EVENTS set, all the kind of events are processed. @@ -356,7 +356,7 @@ int aeProcessEvents(aeEventLoop *eventLoop, int flags) if (tvp->tv_usec < 0) tvp->tv_usec = 0; } else { /* If we have to check for events but need to return - * ASAP because of AE_DONT_WAIT we need to se the timeout + * ASAP because of AE_DONT_WAIT we need to set the timeout * to zero */ if (flags & AE_DONT_WAIT) { tv.tv_sec = tv.tv_usec = 0; @@ -395,7 +395,7 @@ int aeProcessEvents(aeEventLoop *eventLoop, int flags) return processed; /* return the number of processed file/time events */ } -/* Wait for millseconds until the given file descriptor becomes +/* Wait for milliseconds until the given file descriptor becomes * writable/readable/exception */ int aeWait(int fd, int mask, long long milliseconds) { struct pollfd pfd; |