tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 9.1: boot-time delay? [WORKAROUND FOUND]



bouyer%antioche.eu.org@localhost (Manuel Bouyer) writes:

>Another issue could be mstohz() called with a delay too short;
>mstohz() will round it up to 1 tick.


#  define mstohz(ms) ((unsigned int)((ms + 0ul) * hz / 1000ul))

If mstohz() would round up to full ticks, it could actually avoid
some pitfalls. But it doesn't.



Home | Main Index | Thread Index | Old Index