Re: regarding timeout/untimeout kernel functions

From: Bruce M Simpson (bms_at_spc.org)
Date: 07/23/04

  • Next message: Joseph M Link: "Re: regarding timeout/untimeout kernel functions"
    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"


  • Next message: Joseph M Link: "Re: regarding timeout/untimeout kernel functions"

    Relevant Pages

    • Re: Interval timers on Fedora
      ... Would starting more than one interval timer in a single process confuse the signal system when delivering the SIGALRM to the receiving process? ... In other words, can I have a 10 second interval timer which when times out delivers a sigalrm to one function, and in the same process have a 1 second interval timer set to give a sigalrm to another function? ...
      (Fedora)
    • Re: Interval timers on Fedora
      ... Would starting more than one interval timer in a single process confuse the signal system when delivering the SIGALRM to the receiving process? ... In other words, can I have a 10 second interval timer which when times out delivers a sigalrm to one function, and in the same process have a 1 second interval timer set to give a sigalrm to another function? ...
      (Fedora)
    • Re: Waitable Timers
      ... In addition - there is no need even to use named timers in one application. ... Vladimir ... > If you are using a timer in a single process application, ... > same timer object, also, the first parameter for this function is ...
      (microsoft.public.win32.programmer.kernel)