diff options
author | Quincey Koziol <koziol@lbl.gov> | 2020-12-01 19:20:05 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-01 19:20:05 (GMT) |
commit | 3e61010340b7b545f434e3b39dbb56337f8803b5 (patch) | |
tree | db16a6276a41cfa9d6f8c7be0d74f2b02dff038d /src/H5M.c | |
parent | adf7b1d4cf788f25a52619f5d1c957ac5a7c345c (diff) | |
download | hdf5-3e61010340b7b545f434e3b39dbb56337f8803b5.zip hdf5-3e61010340b7b545f434e3b39dbb56337f8803b5.tar.gz hdf5-3e61010340b7b545f434e3b39dbb56337f8803b5.tar.bz2 |
Expand ID dec_ref and close callbacks to allow for asynchronous close operations (#135)
* Expand ID dec_ref and close callbacks to allow for asynchronous close operations.
* Fix typo
* Rename token -> request, remove programmer name
* H5E_ATOM to H5E_ID
Diffstat (limited to 'src/H5M.c')
-rw-r--r-- | src/H5M.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -38,7 +38,7 @@ /********************/ /* Local Prototypes */ /********************/ -static herr_t H5M__close_cb(H5VL_object_t *map_vol_obj); +static herr_t H5M__close_cb(H5VL_object_t *map_vol_obj, void **request); /*********************/ /* Package Variables */ @@ -195,7 +195,7 @@ H5M_term_package(void) *------------------------------------------------------------------------- */ static herr_t -H5M__close_cb(H5VL_object_t *map_vol_obj) +H5M__close_cb(H5VL_object_t *map_vol_obj, void **request) { herr_t ret_value = SUCCEED; /* Return value */ @@ -205,7 +205,7 @@ H5M__close_cb(H5VL_object_t *map_vol_obj) HDassert(map_vol_obj); /* Close the map */ - if (H5VL_optional(map_vol_obj, H5VL_MAP_CLOSE, H5P_DATASET_XFER_DEFAULT, H5_REQUEST_NULL) < 0) + if (H5VL_optional(map_vol_obj, H5VL_MAP_CLOSE, H5P_DATASET_XFER_DEFAULT, request) < 0) HGOTO_ERROR(H5E_MAP, H5E_CLOSEERROR, FAIL, "unable to close map"); /* Free the VOL object */ |