MCPcopy Create free account
hub / github.com/corosync/corosync / cpg_inst_finalize

Function cpg_inst_finalize

lib/cpg.c:146–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146static void cpg_inst_finalize (struct cpg_inst *cpg_inst, hdb_handle_t handle)
147{
148 struct qb_list_head *iter, *tmp_iter;
149 struct cpg_iteration_instance_t *cpg_iteration_instance;
150
151 /*
152 * Traverse thru iteration instances and delete them
153 */
154 qb_list_for_each_safe(iter, tmp_iter, &(cpg_inst->iteration_list_head)) {
155 cpg_iteration_instance = qb_list_entry (iter, struct cpg_iteration_instance_t, list);
156
157 cpg_iteration_instance_finalize (cpg_iteration_instance);
158 }
159 hdb_handle_destroy (&cpg_handle_t_db, handle);
160}
161
162/**
163 * @defgroup cpg_coroipcc The closed process group API

Callers 1

cpg_finalizeFunction · 0.85

Calls 2

hdb_handle_destroyFunction · 0.85

Tested by

no test coverage detected