50c8557f03
Occasionally there is a need to put all objects in one container also into another container. Some reasons you might need to do this: 1) You need to reconfigure a container. You would do this by creating a new container with the new configuration and ao2_container_dup the old container into it. Then replace the old container with the new. Then destroy the old container. 2) You need the contents of a container to remain stable while operating on all of the objects. You would do this by creating a cloned container of the original with ao2_container_clone. The cloned container is a snapshot of the objects at the time of the cloning. When done, just destroy the cloned container. Review: https://reviewboard.asterisk.org/r/1746/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@357145 65c4cc65-6c06-0410-ace0-fbb531ad65f3 |
||
---|---|---|
.. | ||
Makefile | ||
test_acl.c | ||
test_ami_security_events.sh | ||
test_amihooks.c | ||
test_aoc.c | ||
test_app.c | ||
test_ast_format_str_reduce.c | ||
test_astobj2.c | ||
test_db.c | ||
test_devicestate.c | ||
test_dlinklists.c | ||
test_event.c | ||
test_expr.c | ||
test_format_api.c | ||
test_func_file.c | ||
test_gosub.c | ||
test_heap.c | ||
test_linkedlists.c | ||
test_locale.c | ||
test_logger.c | ||
test_netsock2.c | ||
test_pbx.c | ||
test_poll.c | ||
test_sched.c | ||
test_security_events.c | ||
test_skel.c | ||
test_stringfields.c | ||
test_strings.c | ||
test_substitution.c | ||
test_time.c | ||
test_utils.c |