diff options
Diffstat (limited to 'test/vfd_swmr_common.h')
-rw-r--r-- | test/vfd_swmr_common.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/test/vfd_swmr_common.h b/test/vfd_swmr_common.h index 0ac14f5..e3a563f 100644 --- a/test/vfd_swmr_common.h +++ b/test/vfd_swmr_common.h @@ -24,6 +24,11 @@ /* Macros */ /**********/ +/* The maximum # of records to add/remove from the dataset in one step, + * used by vfd_swmr_addrem_writer and vfd_swmr_remove_reader. + */ +#define MAX_SIZE_CHANGE 10 + #define NLEVELS 5 /* # of datasets in the SWMR test file */ #define NMAPPING 9 @@ -64,7 +69,7 @@ H5TEST_DLLVAR unsigned symbol_count[NLEVELS]; extern "C" { #endif -H5TEST_DLL symbol_info_t * choose_dataset(void); +H5TEST_DLL symbol_info_t * choose_dataset(unsigned *, unsigned *); H5TEST_DLL hid_t create_symbol_datatype(void); H5TEST_DLL int generate_name(char *name_buf, unsigned level, unsigned count); H5TEST_DLL int generate_symbols(void); @@ -75,4 +80,8 @@ H5TEST_DLL int print_metadata_retries_info(hid_t fid); } #endif +H5TEST_DLL void block_signals(sigset_t *); +H5TEST_DLL void restore_signals(sigset_t *); +H5TEST_DLL void await_signal(hid_t); + #endif /* _SWMR_COMMON_H */ |