Re: [ovs-dev] [PATCH 4/4] db-ctl-base: make use of user supplied exit function

2015-07-16 Thread Alex Wang
On Mon, Jul 13, 2015 at 11:48 PM, Andy Zhou wrote: > The user is required to expose the_idl and the_idl_txn global variables, > so that memory can be cleaned up on fatal errors. This patch changes to > ask user to supply an exit function via ctl_init(). What user needs to > do on exit can now rem

[ovs-dev] [PATCH 4/4] db-ctl-base: make use of user supplied exit function

2015-07-13 Thread Andy Zhou
The user is required to expose the_idl and the_idl_txn global variables, so that memory can be cleaned up on fatal errors. This patch changes to ask user to supply an exit function via ctl_init(). What user needs to do on exit can now remain private. Signed-off-by: Andy Zhou --- lib/db-ctl-base.