--- - branch: MAIN date: Sun May 3 01:19:47 UTC 2020 files: - new: '1.48' old: '1.47' path: src/sys/kern/kern_condvar.c pathrev: src/sys/kern/kern_condvar.c@1.48 type: modified id: 20200503T011947Z.62d33f2db3beac26346aea84f1ba7197fadf66a7 log: | Fix edge cases in cv_timedwaitbt, cv_timedwaitbt_sig. - If the timeout is exactly zero, fail immediately with EWOULDBLOCK. - If the timeout is just so small it would be rounded to zero ticks, make sure to wait at least one tick. - Make sure we never return with a negative timeout left. module: src subject: 'CVS commit: src/sys/kern' unixtime: '1588468787' user: riastradh