From 5d78931f2f54eb0de558f870bc6cc4a464025a80 Mon Sep 17 00:00:00 2001 From: Hyo-Kyung Lee Date: Wed, 4 Oct 2023 14:57:45 -0500 Subject: [PATCH] docs: close #85 --- src/H5FDsubfiling/H5FDioc_threads.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/H5FDsubfiling/H5FDioc_threads.c b/src/H5FDsubfiling/H5FDioc_threads.c index 0b82b8f15a9..d84323f6ed1 100644 --- a/src/H5FDsubfiling/H5FDioc_threads.c +++ b/src/H5FDsubfiling/H5FDioc_threads.c @@ -33,15 +33,15 @@ typedef struct ioc_data_t { hg_thread_pool_t *io_thread_pool; int64_t sf_context_id; - /* sf_io_ops_pending is use to track the number of I/O operations pending so that we can wait + atomic_int sf_ioc_ready; + atomic_int sf_shutdown_flag; + /* sf_io_ops_pending tracks the number of I/O operations pending so that we can wait * until all I/O operations have been serviced before shutting down the worker thread pool. * The value of this variable must always be non-negative. * * Note that this is a convenience variable -- we could use io_queue.q_len instead. * However, accessing this field requires locking io_queue.q_mutex. - */ - atomic_int sf_ioc_ready; - atomic_int sf_shutdown_flag; + */ atomic_int sf_io_ops_pending; atomic_int sf_work_pending; } ioc_data_t;