Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jan 1998 12:01:59 -0300
From:      daniel_sobral@voga.com.br
To:        mike@smith.net.au
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Device Driver
Message-ID:  <83256587.00523977.00@papagaio.voga.com.br>

next in thread | raw e-mail | index | archive | help

> Not at all.  You want to block for 1/10th of a second?  Pass hz/10 as
> an argument.  This way you can change the clock on the fly and still
> not lose your timing.

That's what I'm doing. But if I pass hz/10000 while the system will never
wait less than hz/1000, I end up with results very different from those I
expected. In other words, when I stop using DELAY and start using tsleep?

--
Daniel C. Sobral                      (8-DCS)
Daniel_Sobral@voga.com.br





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?83256587.00523977.00>