[asterisk-dev] [Code Review] Add red-black tree container type to astobj2.
rmudgett
reviewboard at asterisk.org
Tue Oct 2 18:52:26 CDT 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2110/
-----------------------------------------------------------
(Updated Oct. 2, 2012, 6:52 p.m.)
Review request for Asterisk Developers.
Changes
-------
Address mmichelson's comments.
Summary
-------
* Add red-black tree container type.
* Add CLI command "astobj2 container dump <name>"
* Added ao2_container_dump() so the container could be dumped by other
modules for debugging purposes.
* Changed ao2_container_stats() so it can be used by other modules like
ao2_container_check() for debugging purposes.
This addresses bug ASTERISK-19970.
https://issues.asterisk.org/jira/browse/ASTERISK-19970
Diffs (updated)
-----
/trunk/include/asterisk/astobj2.h 374281
/trunk/include/asterisk/test.h 374281
/trunk/main/astobj2.c 374281
/trunk/main/channel.c 374281
/trunk/main/test.c 374281
/trunk/tests/test_astobj2.c 374281
Diff: https://reviewboard.asterisk.org/r/2110/diff
Testing
-------
Updated the unit tests to check red-black tree containers.
Unit tests pass.
Thanks,
rmudgett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20121002/9b0187c7/attachment.htm>
More information about the asterisk-dev
mailing list