diff options
author | H. Joe Lee <hyoklee@hdfgroup.org> | 2023-10-05 15:04:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-05 15:04:04 (GMT) |
commit | c511d0781720dd96721b99c3b01eadfae00c1fa5 (patch) | |
tree | bb67c5a72ff85835cc041ac5fc29021e1aef7bdb /src/H5FDsubfiling | |
parent | 283202bc6268843a4a4c26e2c39020791e9af929 (diff) | |
download | hdf5-c511d0781720dd96721b99c3b01eadfae00c1fa5.zip hdf5-c511d0781720dd96721b99c3b01eadfae00c1fa5.tar.gz hdf5-c511d0781720dd96721b99c3b01eadfae00c1fa5.tar.bz2 |
Fix grammar (#3635)
Diffstat (limited to 'src/H5FDsubfiling')
-rw-r--r-- | src/H5FDsubfiling/H5FDioc_threads.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5FDsubfiling/H5FDioc_threads.c b/src/H5FDsubfiling/H5FDioc_threads.c index 0b82b8f..c86157b 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; |