From owner-freebsd-hackers Mon Feb 24 15:21:32 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id PAA27650 for hackers-outgoing; Mon, 24 Feb 1997 15:21:32 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id PAA27645 for ; Mon, 24 Feb 1997 15:21:25 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id AAA05842; Tue, 25 Feb 1997 00:21:10 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id WAA01295; Mon, 24 Feb 1997 22:18:40 +0100 (MET) Message-ID: Date: Mon, 24 Feb 1997 22:18:40 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: hackers@FreeBSD.org Cc: mcgovern@spoon.beta.com (Brian J. McGovern), pc012@seqeb.gov.au (patrick collins) Subject: Re: Driver question on interval execution (polling?) References: <199702240127.UAA04260@spoon.beta.com> <331106DC.2781E494@whistle.com> X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <331106DC.2781E494@whistle.com>; from Julian Elischer on Feb 23, 1997 19:11:24 -0800 Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk As Julian Elischer wrote: > the calls you want are > timeout(9) > untimeout(9) > tsleep(9) > and wakeup(9) > not all have man pages yet This time you err, Julian. :-) All of them have man pages already. OTOH, if your card design is not yet finalized, you might add a timer of your own onto the card, and have it raising an interrupt to your driver. That's probably more efficient than the rather high overhead of the timer queue. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)