test/nb_vol_conn.c
/*---------------------------------------------------------------------------
 * Function:    H5VL_nonblock_info_free
 *
 * Purpose:     Release an info object for the connector.
 *
 * Note:	Take care to preserve the current HDF5 error stack
 *		when calling HDF5 API calls.
 *
 * Return:      Success:    0
 *              Failure:    -1
 *
 *---------------------------------------------------------------------------
 */
H5VL_nonblock_info_free
Purpose:     Release an info object for the connector.

Take care to preserve the current HDF5 error stack
when calling HDF5 API calls.


H5VL_nonblock_info_free Purpose : Release an info object for the connector . Take care to preserve the current HDF5 error stack when calling HDF5 API calls .
static herr_t
H5VL_nonblock_info_free(void *_info)
{
    H5VL_nonblock_info_t *info = (H5VL_nonblock_info_t *)_info;
    hid_t                 err_id;
#ifdef ENABLE_NONBLOCK_LOGGING
    printf("------- NON-BLOCKING VOL INFO Free\n");
#endif
    err_id = H5Eget_current_stack();
    if (info->under_vol_info)
        H5VLfree_connector_info(info->under_vol_id, info->under_vol_info);
    H5Idec_ref(info->under_vol_id);
    H5Eset_current_stack(err_id);
    free(info);
    return 0;
}
static herr_t H5VL_nonblock_info_free ( void * _info ) { H5VL_nonblock_info_t * info = ( H5VL_nonblock_info_t * ) _info ; hid_t err_id ; #ifdef ENABLE_NONBLOCK_LOGGING printf ( " \n " ) ; #endif err_id = H5Eget_current_stack ( ) ; if ( info -> under_vol_info ) H5VLfree_connector_info ( info -> under_vol_id , info -> under_vol_info ) ; H5Idec_ref ( info -> under_vol_id ) ; H5Eset_current_stack ( err_id ) ; free ( info ) ; return 0 ; }
Function:    H5VL_nonblock_info_free
 Purpose:     Release an info object for the connector.
Function : H5VL_nonblock_info_free Purpose : Release an info object for the connector .
/* Release underlying VOL ID and info */ /* Free non-blocking info object itself */