Re: simplify kqueue timers

2018-02-09 Thread Alexander Bluhm
On Fri, Feb 09, 2018 at 03:43:52PM +1300, Jonathan Matthew wrote: > kqueue timers are specified in milliseconds, and timeout_add_msec can do the > conversion to ticks for us, so we can trim a few lines here. Using > timeout_add_msec preserves the 'at least one tick' behaviour that was added > in r

simplify kqueue timers

2018-02-08 Thread Jonathan Matthew
kqueue timers are specified in milliseconds, and timeout_add_msec can do the conversion to ticks for us, so we can trim a few lines here. Using timeout_add_msec preserves the 'at least one tick' behaviour that was added in r1.65. kqueue regress tests still pass. ok? Index: kern_event.c