Date: Mon, 21 Oct 2002 23:36:02 -0700 From: Terry Lambert <tlambert2@mindspring.com> To: "M. Warner Losh" <imp@bsdimp.com> Cc: rizzo@icir.org, dchrist@cox.net, hackers@FreeBSD.ORG Subject: Re: Scheduling a recurring task in a device driver Message-ID: <3DB4F1D2.81B791AE@mindspring.com> References: <B1154A80CE56844B9EA4F77FAD2BA951F7EF@hobbes.drc.dhs.org> <20021021092312.D18652@carp.icir.org> <20021021.231850.121892484.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"M. Warner Losh" wrote: > In message: <20021021092312.D18652@carp.icir.org> > Luigi Rizzo <rizzo@icir.org> writes: > : a timeout() call will do (at most once per tick). grep for "timeout(" > : in most of device drivers to see how to use it. > > Also, A software interrupt would be good too, depending on the nature > of the recurring event. I considered suggesting this, but you are right about needing to know more about the frequency and other requirements of the hardware bug they are working around, before a useful suggestion is possible. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DB4F1D2.81B791AE>