New timer interface:
authorAndrei Pelinescu-Onciul <andrei@iptel.org>
Mon, 5 Dec 2005 18:29:30 +0000 (18:29 +0000)
committerAndrei Pelinescu-Onciul <andrei@iptel.org>
Mon, 5 Dec 2005 18:29:30 +0000 (18:29 +0000)
commitaf93cbdf37774344afcc92e4d0da4e17eb5e195f
tree5cb06c8b93ad9d4c07508540e13c173e5ccdcd57
parent17d8cc2bec0ebc4f1ac04f83f54ab964995b1ad1
New timer interface:
  - allows adding timers dynamically
  - supports one shot and periodic timers
  - precise
  - allows timeouts < 0.5 s (depends on the config., by default min. timeout
    = 62.5 ms)
  - based on a 3 level hierarchical timing wheel
  - very fast
  - low overhead for timer functions (most of the time, the excetion is
    timer_del which  take can take quite a long time in special situations)
  - supports "slow" timers (compile option, by default on), "slow" timer = a
    timer handler which is declared as possible taking a long timer to execute.
  - backward compatible: old timer functions are preserverd => no changes
    needed for the existing code (although migration to the new interface is
    recommended)
For more information read doc/timers.txt.
tm timer update will follow shortly (this week).
14 files changed:
Makefile.defs
clist.h [new file with mode: 0644]
config.h
doc/timers.txt [new file with mode: 0644]
error.c
globals.h
main.c
pt.h
signals.c [new file with mode: 0644]
signals.h [new file with mode: 0644]
timer.c
timer.h
timer_funcs.h [new file with mode: 0644]
version.h