Merged revisions 176666 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

........
r176666 | russell | 2009-02-17 15:22:40 -0600 (Tue, 17 Feb 2009) | 16 lines

Update the timing API to have better support for multiple timing interfaces.

1) Add module use count handling so that timing modules can be unloaded.

2) Implement unload_module() functions for the timing interface modules.

3) Allow multiple timing modules to be loaded, and use the one with the
   highest priority value.

4) Report which timing module is being use in the "timing test" CLI command.

(closes issue #14489)
Reported by: russell

Review: http://reviewboard.digium.com/r/162/

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176675 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2009-02-17 21:24:17 +00:00
parent 75ff7a609d
commit 18b14510f2
5 changed files with 167 additions and 120 deletions

View File

@@ -2474,7 +2474,7 @@ static struct ast_frame *__ast_read(struct ast_channel *chan, int dropaudio)
}
if (chan->timingfd > -1 && chan->fdno == AST_TIMING_FD) {
enum ast_timing_event res;
enum ast_timer_event res;
ast_clear_flag(chan, AST_FLAG_EXCEPTION);