asterisk/utils
Corey Farrell a36a174c4b pbx: Create pbx_sw.c for management of 'struct ast_sw'.
This changes context switches from a linked list to a vector, makes
'struct ast_sw' opaque to pbx.c.

Although ast_walk_context_switches is maintained the procedure is no
longer efficient except for the first call (inc==NULL).  This
functionality is replaced by two new functions implemented by vector
macros.
* ast_context_switches_count (AST_VECTOR_SIZE)
* ast_context_switches_get (AST_VECTOR_GET)

As with ast_walk_context_switches callers of these functions are
expected to have locked contexts.  Only a few places in Asterisk walked
the switches, they have been converted to use the new functions.

Change-Id: I08deb016df22eee8288eb03de62593e45a1f0998
2016-07-21 13:58:26 -04:00
..
db1-ast Replace Berkeley DB with SQLite 3 2011-07-06 20:58:12 +00:00
.gitignore Fixes for OS X 2015-06-05 11:23:16 -05:00
Makefile Modules: Make ast_module_info->self available to auxiliary sources. 2015-05-04 20:47:01 -04:00
ael_main.c CLI: Enable automatic references to modules. 2015-05-04 20:47:18 -04:00
astcanary.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
astdb2bdb.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
astdb2sqlite3.c git migration: Refactor the ASTERISK_FILE_VERSION macro 2015-04-13 03:48:57 -04:00
astman.1 remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
astman.c utils: Remove trailing whitespace 2015-05-03 05:28:07 -04:00
check_expr.c utils: Remove trailing whitespace 2015-05-03 05:28:07 -04:00
clicompat.c CLI: Enable automatic references to modules. 2015-05-04 20:47:18 -04:00
conf2ael.c pbx: Create pbx_sw.c for management of 'struct ast_sw'. 2016-07-21 13:58:26 -04:00
expr2.testinput Merged revisions 179807 via svnmerge from 2009-03-03 22:12:02 +00:00
extconf.c pbx: Create pbx_sw.c for management of 'struct ast_sw'. 2016-07-21 13:58:26 -04:00
frame.c utils: Remove trailing whitespace 2015-05-03 05:28:07 -04:00
frame.h utils: Remove trailing whitespace 2015-05-03 05:28:07 -04:00
muted.c utils: Remove trailing whitespace 2015-05-03 05:28:07 -04:00
smsq.c utils: Remove trailing whitespace 2015-05-03 05:28:07 -04:00
stereorize.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
streamplayer.c utils: Remove trailing whitespace 2015-05-03 05:28:07 -04:00
utils.xml main/astobj2: Make REF_DEBUG a menuselect item; improve REF_DEBUG output 2014-04-11 02:59:19 +00:00