From owner-freebsd-hackers Fri Jan 9 06:01:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.7/8.8.7) id GAA26512 for hackers-outgoing; Fri, 9 Jan 1998 06:01:55 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from db2server.voga.com.br (db2server.voga.com.br [200.239.39.7]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id GAA26473 for ; Fri, 9 Jan 1998 06:01:36 -0800 (PST) (envelope-from daniel_sobral@voga.com.br) From: daniel_sobral@voga.com.br Received: from papagaio.voga.com.br (papagaio.voga.com.br [200.239.39.2]) by db2server.voga.com.br (8.8.3+2.6Wbeta9/8.8.7) with SMTP id MAA11516; Fri, 9 Jan 1998 12:02:13 -0200 Received: by papagaio.voga.com.br(Lotus SMTP MTA v1.06 (346.7 3-18-1997)) id 03256587.00529619 ; Fri, 9 Jan 1998 12:02:03 -0300 X-Lotus-FromDomain: VOGA To: mike@smith.net.au cc: hackers@FreeBSD.ORG Message-ID: <83256587.00523977.00@papagaio.voga.com.br> Date: Fri, 9 Jan 1998 12:01:59 -0300 Subject: Re: Device Driver Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk > 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