struct timehands: th_generation field

Brandon Allbery allbery.b at
Thu Jul 23 14:59:27 UTC 2015

On Thu, Jul 23, 2015 at 10:38 AM, <deco33000 at> wrote:

> Is the maximum value for th_generation equal to 10 ?

I don't think those relate to generations. Generations change on every
clock tick; the multiple timehands structs relate to forcibly setting the
time, as opposed to the clock moving forward normally. It does appear serve
a similar purpose, since forcibly setting the time is even more "violent"
(to anything currently reading the clock) than advancing the clock on a
clock tick, since that's when other adjustments including possibly
switching the clock source will be applied.

brandon s allbery kf8nh                               sine nomine associates
allbery.b at                                  ballbery at
unix, openafs, kerberos, infrastructure, xmonad

More information about the freebsd-stable mailing list