]> git.puffer.fish Git - mirror/frr.git/commit
lib: cope with negative timeout in thread.c
authorDavid Lamparter <equinox@opensourcerouting.org>
Mon, 23 Jan 2017 17:51:19 +0000 (18:51 +0100)
committerDavid Lamparter <equinox@opensourcerouting.org>
Mon, 23 Jan 2017 17:59:15 +0000 (18:59 +0100)
commite0e2a99068b47824ec563eb24c2ee617499da491
treed2826bc1420492ee569cd773c5270c84b105bfe8
parent4b185cb399650082b317809ed7ec18207fef9f5a
lib: cope with negative timeout in thread.c

Since time is no longer cached, if we schedule something with zero
timeout, it will automatically be negative by the time we reach the
event loop.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/thread.c