rcuja: remove "free_node_cb" from destroy
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 7 Jun 2013 14:23:40 +0000 (10:23 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 7 Jun 2013 14:23:40 +0000 (10:23 -0400)
commit99e6e3dc384b72322e7d180c622ee1249345a27c
tree2839a18018c94bd975ff5ac353eff13be66f7731
parentc01cfe733a13947b5d8ba49c8529b1f691558c9d
rcuja: remove "free_node_cb" from destroy

It is now up to the caller to ensure that the Judy array is emptied
before destroying it.

For instance, if nodes are accessible through another data structure
than the Judy array, it may very well be valid to destroy the Judy array
without freeing memory associated to those nodes.

Destroy still takes care of freeing memory used for Judy internal nodes.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
rcuja/rcuja-internal.h
rcuja/rcuja-shadow-nodes.c
rcuja/rcuja.c
tests/test_urcu_ja.c
urcu/rcuja.h
This page took 0.025844 seconds and 4 git commands to generate.