Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ae.c event loop: API to resize the fd set size on the run. | antirez | 2013-06-28 | 1 | -0/+30 |
| | |||||
* | Fixed many typos. | guiquanz | 2013-01-19 | 1 | -3/+3 |
| | |||||
* | ae.c: set errno when error is not a failing syscall. | antirez | 2013-01-03 | 1 | -1/+5 |
| | | | | | | In this way the caller is able to perform better error checking or to use strerror() without the risk of meaningless error messages being displayed. | ||||
* | Include time.h in ae.c as we now use time(). | antirez | 2012-10-05 | 1 | -0/+1 |
| | |||||
* | Force expire all timer events when system clock skew is detected. | Jokea | 2012-10-04 | 1 | -0/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | When system time changes back, the timer will not worker properly hence some core functionality of redis will stop working(e.g. replication, bgsave, etc). See issue #633 for details. The patch saves the previous time and when a system clock skew is detected, it will force expire all timers. Modiifed by @antirez: the previous time was moved into the eventLoop structure to make sure the library is still thread safe as long as you use different event loops into different threads (otherwise you need some synchronization). More comments added about the reasoning at the base of the patch, that's worth reporting here: /* If the system clock is moved to the future, and then set back to the * right value, time events may be delayed in a random way. Often this * means that scheduled operations will not be performed soon enough. * * Here we try to detect system clock skews, and force all the time * events to be processed ASAP when this happens: the idea is that * processing events earlier is less dangerous than delaying them * indefinitely, and practice suggests it is. */ | ||||
* | Set fd to writable when poll(2) detects POLLERR or POLLHUP event. | jokea | 2012-05-23 | 1 | -0/+2 |
| | |||||
* | first cut at event port support | Dave Pacheco | 2012-05-15 | 1 | -5/+9 |
| | |||||
* | implement aeWait using poll(2). Fixes issue #267. | jokea | 2012-04-06 | 1 | -13/+10 |
| | |||||
* | A few small BSD related fixes. | antirez | 2012-02-08 | 1 | -0/+1 |
| | |||||
* | aeCreateEventLoop() cleanup on error unified in a single block (original | antirez | 2012-01-25 | 1 | -15/+11 |
| | | | | | patch by Mukund Sivaraman, modified by me to make it simpler and to use my coding style). | ||||
* | If aeApiCreate() fails, there's probably not much one can do, but in the ↵ | Mukund Sivaraman | 2012-01-25 | 1 | -0/+2 |
| | | | | name of consistency... | ||||
* | ae.c: solved a memory leak with no practical effects (since the event | antirez | 2011-12-16 | 1 | -0/+2 |
| | | | | loop is never destroyed in Redis). Thanks to @anydot for noticing it. | ||||
* | Max limit to 10k clients removed, this implements feature request on issue #194 | antirez | 2011-12-15 | 1 | -7/+17 |
| | |||||
* | new ae.c API to get current events by file descriptor. | antirez | 2011-11-21 | 1 | -0/+7 |
| | |||||
* | redis.c split into many different C files. | antirez | 2010-07-01 | 1 | -0/+390 |
networking related stuff moved into networking.c moved more code more work on layout of source code SDS instantaneuos memory saving. By Pieter and Salvatore at VMware ;) cleanly compiling again after the first split, now splitting it in more C files moving more things around... work in progress split replication code splitting more Sets split Hash split replication split even more splitting more splitting minor change |