Skip to content

Commit

Permalink
Fix an issue with request wait
Browse files Browse the repository at this point in the history
  • Loading branch information
houjun committed Sep 12, 2022
1 parent 18b6ab3 commit 0a92d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/h5_async_vol.c
Original file line number Diff line number Diff line change
Expand Up @@ -23132,7 +23132,7 @@ H5VL_async_request_wait(void *obj, uint64_t timeout, H5VL_request_status_t *stat
return ret_value;
}

if (timeout > 0) {
if (timeout > 0 && task->is_done == 0) {
if (H5TSmutex_release(&mutex_count) < 0)
fprintf(fout_g, " [ASYNC VOL ERROR] %s with H5TSmutex_release\n", __func__);
#ifdef ENABLE_DBG_MSG
Expand Down

0 comments on commit 0a92d23

Please sign in to comment.