Date: Fri, 23 Jul 2004 04:20:52 +0100 From: Bruce M Simpson <bms@spc.org> To: Dan Nelson <dnelson@allantgroup.com> Cc: pradeep reddy punnam <prady_p@yahoo.com> Subject: Re: regarding timeout/untimeout kernel functions Message-ID: <20040723032052.GA32366@empiric.dek.spc.org> In-Reply-To: <20040723025600.GA3234@dan.emsphone.com> References: <410069F0.5040604@joelink.net> <20040723022324.55446.qmail@web53409.mail.yahoo.com> <20040723025600.GA3234@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 22, 2004 at 09:56:00PM -0500, Dan Nelson wrote: > You could also use the kqueue/kevent functions to queue up an arbitrary > number of timer events in a single process. I wrote a small routing daemon which uses kqueue/kevent to fire a period timer on a quantum which in turn calls into a timer list module I wrote, which can either use the kevent quantum, or multiplex on a single itimer. It's pretty basic and probably not foolproof, but it seems to work well. BMS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040723032052.GA32366>