Add kqueue(2) implementation to Asterisk in various places.
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 13 May 2010 05:37:31 +0000 (05:37 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 13 May 2010 05:37:31 +0000 (05:37 +0000)
commit8d6ee962c7644fdfc47f56b8df7ed570435c8a27
tree9d4eb039249b19afa0243f1406142d0958f96481
parent7d53dc86d6c120b1846ff06cec2b7c4dcc2a723b
Add kqueue(2) implementation to Asterisk in various places.

This will save a considerable amount of CPU on the BSDs, including Mac OS X,
as it eliminates several places in the code that we previously used a busy
loop.  Additionally, this adds a res_timing interface, using kqueue timers.

Review: https://reviewboard.asterisk.org/r/543/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@262852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Makefile
build_tools/menuselect-deps.in
configure
configure.ac
include/asterisk/autoconfig.h.in
main/stdtime/localtime.c
pbx/pbx_spool.c
res/res_timing_kqueue.c [new file with mode: 0644]
tests/test_time.c