summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'aug-develop' into aug-merge-attempt/feature/vfd_swmrDavid Young2020-08-041-12/+57
|\
| * Merge pull request #2668 in HDFFV/hdf5 from monotonic_timer to developQuincey Koziol2020-07-021-9/+28
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '7371c83f9777b34b31909e99e052398b93c31bed': Remove non-existent example Add new source files to CMake build Clean up warnings va_arg -> HDva_arg Refactor code to remove remaining checks for H5_HAVE_GETTIMEOFDAY scattered around in various places. Also clean up iopipe.c. Correct mistake in H5_now_usec calculation for clock_gettime. Remove detection for mach/mach/time.h, since we're no longer using the time routines from that header. Update H5_now_usec to prefer using clock_gettime. Changes to make timers within the library monotonic.
| | * Merge remote-tracking branch 'origin/develop' into monotonic_timerQuincey Koziol2020-06-261-207/+370
| | |\
| | * | Changes to make timers within the library monotonic.Quincey Koziol2017-09-031-9/+28
| | | |
| * | | Fix typo in HDftell macro definition: 'ftello -> ftell'Jacob Smith2020-06-291-1/+1
| | |/ | |/|
| * | Reduce overhead for H5open, which is involved in the public symbols like ↵Quincey Koziol2020-06-161-2/+27
| | | | | | | | | | | | H5T_NATIVE_INT, etc.
| * | Removed HDgets macros since gets was deprecated in C99 and removedDana Robinson2020-05-101-2/+5
| | | | | | | | | | | | in C11 (gets() is not used in our repo).
| * | Tidying of Mirror VFD.Jacob Smith2020-04-071-3/+0
| | | | | | | | | | | | | | | | | | | | | * Rename server-stop utility to mirror_server_stop. * Remove external dependency on bzero(). * Modify test/use_common to use only the public API. * Rename internal bitswap macro to follow convention.
| * | Add Splitter VFD to library.Jacob Smith2020-03-131-1/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * "Simultaneous and equivalent" Read-Write and Write-Only channels for file I/O. * Only supports drivers with the H5FD_FEAT_DEFAULT_VFD_COMPATIBLE flag for now, preventing issues with multi-file drivers. Add Mirror VFD to library. * Write-only operations over a network. * Uses TCP/IP sockets. * Server and auxiliary server-shutdown programs provided in a new directory, `utils/mirror_vfd`. * Automated testing via loopback ("remote" of localhost).
| * | Merge pull request #2351 in HDFFV/hdf5 from ↵David Young2020-03-051-4/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | ~DYOUNG/werror:b-bye-HDpthread_self to develop * commit '224cb4a03406ed72e02d026efeab47fdf7f6b33b': Use a naked pthread_self() call in the HDF5 thread wrappers.
| | * | Use a naked pthread_self() call in the HDF5 thread wrappers.David Young2020-02-061-4/+0
| | | |
| * | | Merge pull request #2367 in HDFFV/hdf5 from ~DYOUNG/werror:unused to developDavid Young2020-02-191-14/+39
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '50aac126d7c4082c2aeb0f3a68cad26bd1cd9783': Start to document the function/parameter/variable attribute macros. Filter all of the new _USED / _UNUSED type modifiers. H5_HAVE_PARALLEL, _DEBUG_API, etc. Add attributes to some variables and parameters that are unused under some configurations.
| | * | | H5_HAVE_PARALLEL, _DEBUG_API, etc. Add attributes to some variables andDavid Young2020-02-101-14/+39
| | |/ / | | | | | | | | | | | | parameters that are unused under some configurations.
| * | | Delete unhelpful comment per Jordan's question.David Young2020-02-101-3/+0
| | | |
| * | | Make sure that H5TS_thread_id() is available as either a function or a macro inDavid Young2020-02-071-3/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | all configurations. Previously it was neither declared nor defined in --disable-threadsafety builds. The compiler's warning got lost in the noise---I first saw the issue because my -Werror branch stopped compiling cold---and the tests still linked and ran.
| * | Replace pthread_self_ulong() with H5TS_thread_id(). The POSIX ThreadsDavid Young2020-02-031-5/+0
| | | | | | | | | | | | | | | implementation ought to be portable to any system that has POSIX Threads. On Windows, I use the same API call as before.
| * | Merge pull request #2311 in HDFFV/hdf5 from ~KMU/hdf5:misc to developKimmy Mu2020-01-281-1/+1
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '406330addf45529ecdd088f4d22e9aab9a03661d': rename macro change condition pick up from Dave's fix leave Wswitch-default for later fix fix Wredundant-decls, Wswitch-default, Wdeclaration-after-statement, Wsign-compare, Wmisleading-indentation, Wshadow
| | * | fix Wredundant-decls, Wswitch-default, Wdeclaration-after-statement, ↵kmu2020-01-271-1/+1
| | | | | | | | | | | | | | | | Wsign-compare, Wmisleading-indentation, Wshadow
| * | | Replaced my_isnan with C99 isnan in h5diff.Dana Robinson2020-01-241-0/+3
| | | |
| * | | Removed H5_DEC_ENUMDana Robinson2020-01-231-7/+0
| | | |
| * | | Revert "Revert "Moved -Wunsuffixed-float-constants to the developer warnings.""Dana Robinson2020-01-231-15/+0
| |/ / | | | | | | | | | This reverts commit 6486e06545bf637d46e18a787395542f4fca143a.
| * | merge and fix conflictkmu2020-01-191-15/+15
| |\ \
| * \ \ merge and fix conflictskmu2020-01-141-21/+17
| |\ \ \ | | |/ /
| | * | Fix compile errors - mostly in jniAllen Byrne2019-12-061-21/+17
| | | |
| * | | fix unused related warningskmu2020-01-131-1/+8
| |/ /
| * | Yanked -Wc++-compat from the flags used to build the C library in bothDana Robinson2019-12-041-7/+0
| | | | | | | | | | | | the Autotools and CMake.
| * | Fixed the H5_mpi_get_bigio_count function prototypeRichard Warren2019-11-181-1/+1
| | |
| * | Merge pull request #1984 in HDFFV/hdf5 from ~DYOUNG/netbsd:develop to developDavid Young2019-11-051-1/+18
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0b721858e46a317c370a24115032d5be41688f67': Make these scripts relocatable again: derive a relative path for the original installation prefix from the examples prefix. Use that relative path to locate the current installation prefix, always. Fall back to an absolute installation prefix if the relative path cannot be derived. Get the path to prefix right: needs a ../ to back out of subdirectory c/. Make this script relocatable again: derive a relative path for the original installation prefix from the examples prefix. Use that relative path to locate the current installation prefix, always. Fall back to an absolute installation prefix if the relative path cannot be derived. Let us override the examples directory using --with-examplesdir=DIR. This is handy for NetBSD where HDF5 examples are installed by convention in $prefix/share/examples/hdf5/ rather than in ${prefix}/share/hdf5_examples/, which is the HDF5 default. Follow longstanding execv convention for compatibility with NetBSD. Under the examples directories, always find the installed HDF5 executables and scripts using @prefix@ instead of a relative path, because the number of ../ in the relative path will be different on NetBSD than on other systems. Make the HDF5 configure script grok NetBSD. For portability, insulate the HDF5 library from some system macros. Not every system has perl installed in /usr/bin/, so change the shebang (#!) line to `/usr/bin/env perl` to locate perl on the PATH. For portability, use the POSIX sh(1) string-comparison operator `=` instead of `==`.
| | * | For portability, insulate the HDF5 library from some system macros.David Young2019-10-031-1/+18
| | | |
| * | | Change API names for get/set bitio_count. Also added H5_mpi_set_bigio_count ↵Richard Warren2019-10-231-1/+2
| | | | | | | | | | | | | | | | to H5private.h.
| * | | Another cleanup pass as suggested by the reviewers.Richard Warren2019-10-071-5/+0
| | | |
| * | | At the suggestion of the PR reviewers, moved the mpio_create_large_type to ↵Richard Warren2019-10-071-0/+8
| |/ / | | | | | | | | | H5mpi.c and renamed the function appropriately. Also moved some support functions to set and get the vvalue where we transistion to using derived datatypes.
| * | Added H5Pset/get_mpi_params calls and unified them with the MPI-I/ODana Robinson2019-08-261-0/+2
| | | | | | | | | | | | VFD info in H5FDmpio.c.
| * | Some refactoring prior to implementing new H5P MPI functions.Dana Robinson2019-08-141-0/+8
| | | | | | | | | | | | | | | | | | * Macro cleanup and obvious warning fixes in parallel code. * Moved H5FD comm and info dup/free wrapper code to a new H5mpi.c file and separated it to deal with each MPI type separately.
| * | Merge pull request #1860 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:map_api_merge ↵Dana Robinson2019-08-131-0/+3
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to develop * commit 'd95745235a468b17f697843adb3d0e54bd919893': Updated h5trav.c to emit output that doesn't require ddl changes for map support. Fixed Map API CMake option Renamed H5Mdelete_key to H5Mdelete and H5Mset to H5Mput. Added the map (H5M) API
| | * | Added the map (H5M) APIDana Robinson2019-08-131-0/+3
| | | |
| * | | Added ifdef for intel compilers, __GNUC__ has to be defined for header files ↵M. Scot Breitenfeld2019-08-131-1/+1
| |/ / | | | | | | | | | which use it to work with intel compilers. This gives a warning for intel compiler about fallthrough, so added a check not to include fallthrough if using intel compilers.
| * | Added gcc conditional for __attribute__((fallthrough)), removes 34 warnings ↵M. Scot Breitenfeld2019-08-081-0/+4
| | | | | | | | | | | | on theta (10% of warnings).
| * | Add support for GCC 7.x warnings, update warnhist script to account for them,Quincey Koziol2019-06-211-0/+3
| | | | | | | | | | | | clean up warnings.
| * | - Added H5MMprivate.h #includes where neededDana Robinson2019-03-161-5/+1
| | | | | | | | | | | | | | | - Added casts to quiet H5MM_memcpy warnings - Removed char * casts from HDmemcpy
| * | Merge branch 'develop' into c_stdlib_posix_call_cleanupDana Robinson2019-02-191-0/+6
| |\ \
| | * | Updated sec2, log, and core VFDs to use pread/pwrite whenDana Robinson2019-01-311-0/+6
| | | | | | | | | | | | | | | | available (can be controlled via a configure/CMake option)
| * | | C and POSIX call cleanupDana Robinson2019-01-111-2/+3
| |/ /
| * | Further va_list improvements.Dana Robinson2018-12-171-0/+3
| | |
| * | Fix plugin code from referencing invalid key ID value, and also switch fromQuincey Koziol2018-12-131-0/+3
| | | | | | | | | | | | | | | strtok() to strtok_r() to avoid possible interference with / to application use of strtok().
| * | Squashed commit of private branch changes to support stackable VOL plugins.Quincey Koziol2018-10-251-5/+6
| | | | | | | | | | | | modified: test/dsets.c
| * | VOL FEATUREDana Robinson2018-10-101-0/+10
| | |
* | | (1) Add public routines H5Fvfd_swmr_end_tick, ↵vchoi2020-06-261-0/+19
| | | | | | | | | | | | | | | | | | H5Fvfd_swmr_disable_end_of_tick, H5Fvfd_swmr_enable_end_of_tick(). (2) Tests for the above APIs.
* | | If we're processing the EOT queue when we *enter* a function, useDavid Young2020-06-031-1/+1
| | | | | | | | | | | | | | | | | | | | | HGOTO_ERROR() instead of HDONE_ERROR() so that we jump to the `done` label right away. This ought to fix the problem Vailin was seeing, where the library left H5F_vfd_swmr_reader_end_of_tick() prematurely for seemingly no reason.
* | | Repair a bunch of H5_ATTR_SANITY_CHECK uses that should have beenDavid Young2020-05-201-3/+3
| | | | | | | | | | | | | | | H5_ATTR_NDEBUG_UNUSED. This really makes me wonder what else I have screwed up in this merge....