diff options
author | David Young <dyoung@hdfgroup.org> | 2020-01-10 15:44:21 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-01-10 18:00:22 (GMT) |
commit | f8c5797bd62ba38bfa72a6a34106dab911c7f6ad (patch) | |
tree | d1fe2b1a2d8cc6ce9d52f1e94c2e5452bcd6b803 /src/H5retry_private.h | |
parent | 62e1340bdd93aa12079ec97043b2da0c3f5d711a (diff) | |
download | hdf5-f8c5797bd62ba38bfa72a6a34106dab911c7f6ad.zip hdf5-f8c5797bd62ba38bfa72a6a34106dab911c7f6ad.tar.gz hdf5-f8c5797bd62ba38bfa72a6a34106dab911c7f6ad.tar.bz2 |
Provide a convenience constant, H5_RETRY_ONE_SECOND.
Diffstat (limited to 'src/H5retry_private.h')
-rw-r--r-- | src/H5retry_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5retry_private.h b/src/H5retry_private.h index 48f6790..6621957 100644 --- a/src/H5retry_private.h +++ b/src/H5retry_private.h @@ -30,7 +30,8 @@ typedef struct h5_retry_t { #define H5_RETRY_DEFAULT_MINIVAL ( 100ULL * 1000ULL * 1000ULL) #define H5_RETRY_DEFAULT_MAXIVAL ( 1000ULL * 1000ULL * 1000ULL) /* One hour: */ -#define H5_RETRY_ONE_HOUR (3600ULL * 1000ULL * 1000ULL * 1000ULL) +#define H5_RETRY_ONE_SECOND (1000ULL * 1000ULL * 1000ULL) +#define H5_RETRY_ONE_HOUR (3600ULL * H5_RETRY_ONE_SECOND) /* If any tries remain, decrease the number of remaining tries and * return true. Otherwise, return false. |