hdf5/testpar
Quincey Koziol 97e1ed4fc8
Refactor allocation of API context (#4942)
Since each API context is local to a thread, use the stack to
store the context instead of allocating & releasing it each time.
This improves performance (slightly), reduces alloc/free calls,
and eliminates the H5FL package from the push & pop operations,
which helps simplify threadsafe operation.

One effect of this change is that the H5VLstart_lib_state /
H5VLfinish_lib_state API routines for pass through connector
authors now require a parameter that can be used to store
the library's context. It was probably a mistake to assume
that these two routines would not do this previously, so this
is essentially a bug fix for them.

Some other minor things:

 * Added API context push+pop operations to cache tests
  (I'm not actually certain why this was working before) and
  a few other places
* Cleaned up a bunch of warnings in test code (calloc args, mainly)
* Made header file inclusions more standard in some source files
2024-10-24 10:09:22 -07:00
..
API Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
CMakeLists.txt Refactor h5test.c, testframe.c and testpar.h testing frameworks (#4891) 2024-10-01 16:10:03 -05:00
CMakeTests.cmake Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
CMakeVFDTests.cmake Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
Makefile.am Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_2Gio.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_bigio.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_cache_image.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_cache.c Refactor allocation of API context (#4942) 2024-10-24 10:09:22 -07:00
t_chunk_alloc.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_coll_chunk.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_coll_md.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_dset.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_file_image.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_file.c Refactor allocation of API context (#4942) 2024-10-24 10:09:22 -07:00
t_filter_read.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_filters_parallel.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_filters_parallel.h Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_init_term.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_mdset.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_mpi.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_oflush.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_pflush1.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_pflush2.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_ph5basic.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_pmulti_dset.c Move h5_test_init() calls after MPI_Init (#4988) 2024-10-21 08:36:23 -07:00
t_pread.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_prestart.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_prop.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_pshutdown.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_select_io_dset.c Move h5_test_init() calls after MPI_Init (#4988) 2024-10-21 08:36:23 -07:00
t_shapesame.c Refactor allocation of API context (#4942) 2024-10-24 10:09:22 -07:00
t_span_tree.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_subfiling_vfd.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
t_vfd.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
testpar.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
testpar.h Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
testpflush.sh.in Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
testphdf5.c Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00
testphdf5.h Renamed COPYING to LICENSE (#4978) 2024-10-18 21:13:04 -07:00