Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix behavior of a 0 second timer, avoid processing them in a task #1204
This fixes the immediate return issue in waitForData for 0 second timers, amonst other problems.
I think a negative duration might be better suited for immediate timers, since the 0 second already has defined behavior in some cases, mostly because libevent seems to never set a timer (infinite duration)