Skip to content

Commit 0a92d23

Browse files
committed
Fix an issue with request wait
1 parent 18b6ab3 commit 0a92d23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/h5_async_vol.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23132,7 +23132,7 @@ H5VL_async_request_wait(void *obj, uint64_t timeout, H5VL_request_status_t *stat
2313223132
return ret_value;
2313323133
}
2313423134

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

0 commit comments

Comments
 (0)