I am trying to understand the Open-vx object node for one of my requirement.I have gone through the specification but not able to understand the exact difference between an API vxRemoveNode() and vxReleaseNode(). Spec says vxReleaseNode :
"Releases a reference to a Node object. The object may not be garbage collected until its total reference count is zero."
I don't get the second point in the above statement.
Regrading the vxRemoveNode as per my understanding it completely removes the node from the graph.
In the post condition after calling both the APIs,In the specs they mentioned:
"After returning from this function the reference is zeroed"
Please help me to understand the exact difference between these APIs.
Never used OpenVX. This is what I understand from the documentation:
node
does not point anymore to a vx_node
object, the vx_node
object will be completely garbage collected when there is no more variable that references this object. node
pointer is set to zero after the call. vx_node
object from the graph, node
is set to zero after the call.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.