diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2020-12-12 03:25:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-12 03:25:24 (GMT) |
commit | 9e72b7f834eba0e7225bbec858da14431e0c6954 (patch) | |
tree | 0f98c594f5fc16c7db4f1df20c45498aba82cbc8 /src/H5TS.c | |
parent | 71a7ad0e075b8bcb104a62a177115efbf85ae91e (diff) | |
download | hdf5-9e72b7f834eba0e7225bbec858da14431e0c6954.zip hdf5-9e72b7f834eba0e7225bbec858da14431e0c6954.tar.gz hdf5-9e72b7f834eba0e7225bbec858da14431e0c6954.tar.bz2 |
Minor normalization with the async branch (#159)
* Minor normalization with the async branch
* Update CMake and the Autotools to use the new pass-through VOL ID
Diffstat (limited to 'src/H5TS.c')
-rw-r--r-- | src/H5TS.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -332,7 +332,7 @@ H5TS_pthread_first_thread_init(void) * H5TS_mutex_lock(&mutex_var) * * RETURNS - * 0 on success and non-zero on error. + * Non-negative on success / Negative on failure * * DESCRIPTION * Recursive lock semantics for HDF5 (locking) - @@ -347,7 +347,7 @@ H5TS_pthread_first_thread_init(void) herr_t H5TS_mutex_lock(H5TS_mutex_t *mutex) { - herr_t ret_value = 0; + herr_t ret_value = SUCCEED; FUNC_ENTER_NOAPI_NAMECHECK_ONLY @@ -389,7 +389,7 @@ done: * H5TS_mutex_unlock(&mutex_var) * * RETURNS - * 0 on success and non-zero on error. + * Non-negative on success / Negative on failure * * DESCRIPTION * Recursive lock semantics for HDF5 (unlocking) - @@ -404,7 +404,7 @@ done: herr_t H5TS_mutex_unlock(H5TS_mutex_t *mutex) { - herr_t ret_value = 0; + herr_t ret_value = SUCCEED; FUNC_ENTER_NOAPI_NAMECHECK_ONLY @@ -444,7 +444,7 @@ done: * H5TS_cancel_count_inc() * * RETURNS - * 0 on success non-zero error code on error. + * Non-negative on success / Negative on failure * * DESCRIPTION * Creates a cancellation counter for a thread if it is the first time |