Re: [Libevent-users] a dead looping bug when changing system time backward

2012-04-09 Thread William Ahern
On Tue, Apr 10, 2012 at 11:44:39AM +0800, 卓宜黄 wrote: > Hi all, > > I found an issue that it will trigger the timer callback dramatically > like a dead looping when moving the system time backward for a year > and then moving it forward to the accurate time. AFAICT, the libevent 2.x code uses cloc

[Libevent-users] a dead looping bug when changing system time backward

2012-04-09 Thread 卓宜黄
Hi all, I found an issue that it will trigger the timer callback dramatically like a dead looping when moving the system time backward for a year and then moving it forward to the accurate time. Of course, I had to change the system time for other activities then. However, I've made a test case fo