mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
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 |
||
---|---|---|
.. | ||
API | ||
CMakeLists.txt | ||
CMakeTests.cmake | ||
CMakeVFDTests.cmake | ||
Makefile.am | ||
t_2Gio.c | ||
t_bigio.c | ||
t_cache_image.c | ||
t_cache.c | ||
t_chunk_alloc.c | ||
t_coll_chunk.c | ||
t_coll_md.c | ||
t_dset.c | ||
t_file_image.c | ||
t_file.c | ||
t_filter_read.c | ||
t_filters_parallel.c | ||
t_filters_parallel.h | ||
t_init_term.c | ||
t_mdset.c | ||
t_mpi.c | ||
t_oflush.c | ||
t_pflush1.c | ||
t_pflush2.c | ||
t_ph5basic.c | ||
t_pmulti_dset.c | ||
t_pread.c | ||
t_prestart.c | ||
t_prop.c | ||
t_pshutdown.c | ||
t_select_io_dset.c | ||
t_shapesame.c | ||
t_span_tree.c | ||
t_subfiling_vfd.c | ||
t_vfd.c | ||
testpar.c | ||
testpar.h | ||
testpflush.sh.in | ||
testphdf5.c | ||
testphdf5.h |