Re: regarding timeout/untimeout kernel functions
From: Bruce M Simpson (bms_at_spc.org)
Date: 07/23/04
- Previous message: Bruce R. Montague: "Re: "Next Generation" kernel configuration?"
- In reply to: Dan Nelson: "Re: regarding timeout/untimeout kernel functions"
- Next in thread: Joseph M Link: "Re: regarding timeout/untimeout kernel functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 23 Jul 2004 04:20:52 +0100 To: Dan Nelson <dnelson@allantgroup.com>
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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Bruce R. Montague: "Re: "Next Generation" kernel configuration?"
- In reply to: Dan Nelson: "Re: regarding timeout/untimeout kernel functions"
- Next in thread: Joseph M Link: "Re: regarding timeout/untimeout kernel functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|