Merge the changes from the res_timing_timerfd branch.
authorMark Michelson <mmichelson@digium.com>
Wed, 19 Nov 2008 19:37:32 +0000 (19:37 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 19 Nov 2008 19:37:32 +0000 (19:37 +0000)
commit0e5367f7eb4515077100839ed82cd27683235ac2
tree776ed3fe91e9a1fa35269d40568d1528bda8e481
parentd66a8cd26481d94426cbbffef212f63d5c0da378
Merge the changes from the res_timing_timerfd branch.

This provides a new timing interface. In order to use it,
you must be running a Linux with a kernel version of
2.6.25 or newer and glibc 2.8 or newer.

This timing interface is a good alternative if a timing
source is necessary (e.g. for IAX trunking) but DAHDI is
otherwise unnecessary for the system.

For now, this commit contains the actual work done in the
res_timing_timerfd branch. There are no notices in the README
or CHANGES files yet, but they will be added in my next commit.

The timing API of Asterisk also needs to have a bit of work done
with regards to choosing which timing interface to use. This commit
makes the choice a build-time decision, by only allowing one of
the timer interfaces to be chosen in menuselect. It would be preferable
if the choice could be made at run-time, however. The preferred timing
interface could be loaded and tested, and if it does not work, choice
number two may be used instead. That sort of thing. That is beyond
the scope of work in this branch though.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@157820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
build_tools/menuselect-deps.in
configure
configure.ac
include/asterisk/autoconfig.h.in
makeopts.in
res/res_timing_dahdi.c
res/res_timing_pthread.c
res/res_timing_timerfd.c [new file with mode: 0644]