Commit Graph

22269 Commits

Author SHA1 Message Date
Songyu Lu
923e15b749 Some minor changes. 2021-03-15 10:49:43 -05:00
Songyu Lu
11486e26a2 Changing the signal handling to named pipe for better portablity. 2021-03-10 11:07:21 -06:00
Dana Robinson
84b31b5a55 Merge pull request #416 from derobins/vfd_swmr/thg_standards
Brings VFD SWMR code closer to THG standards and allows C library compilation on Windows
2021-03-04 12:53:35 -08:00
Dana Robinson
ef5a1941f7 Merge remote-tracking branch 'canonical/feature/vfd_swmr' into vfd_swmr/thg_standards 2021-03-04 11:54:43 -08:00
Dana Robinson
7cd0949828 Merge pull request #426 from vchoi-hdfgroup/demo_feature_vfd_swmr
Add the two VFD SWMR demo programs to "examples" directory.
2021-03-04 11:48:41 -08:00
vchoi
b0ce859b2c Add the two VFD SWMR demo programs to "examples" directory.
Provide instructions on compiling and running the demos.
2021-03-04 13:36:39 -06:00
vchoi-hdfgroup
0e61a9abf6 Merge pull request #413 from vchoi-hdfgroup/feature/vfd_swmr
VFD SWMR TestExpress limits on testvfdswmr.sh
2021-03-03 14:20:33 -06:00
Dana Robinson
94694f91a3 Engineers around naked clock_gettime() calls
This is a temporary solution, as not all POSIX platforms will have
clock_gettime(). Further code fixes will be required.

With this change, the main C library should compile on Windows.
2021-03-02 17:22:22 -08:00
Dana Robinson
eb24fbe89c Adds missing private VFD SWMR headers to CMake 2021-03-02 16:49:40 -08:00
Dana Robinson
dea61b33b3 Removed Wnanosleep stub and adds Win32 code to H5_nanosleep() 2021-03-02 16:38:17 -08:00
Dana Robinson
99237a7291 Switch to using H5_nanosleep() instead of HDnanosleep()
* Just in the main library and test/vfd_swmr.c
* VFD SWMR acceptance tests still use HDnanosleep() directly
2021-03-02 16:04:42 -08:00
Dana Robinson
c7518ef299 Fixes a missing declaration for H5_get_win32_times() 2021-03-02 15:19:31 -08:00
Dana Robinson
ae24b82f77 Brings MacOS fixes from main feature branch 2021-03-02 14:30:01 -08:00
vchoi
c18b6eaea8 Add test settings for vfd_swmr_bigset_writer.c based on HDF5TestExpress:
Default, Exhaustive, and quick runs.
2021-03-02 11:59:33 -06:00
Dana Robinson
69b2061d68 HD prefix and hbool_t changes in test/vfd_swmr.c 2021-03-02 06:42:50 -08:00
Dana Robinson
132dd66269 Fixes a bug from when the hlog code was removed 2021-03-02 05:42:17 -08:00
Dana Robinson
0455457cc7 Switch to hbool_t and TRUE/FALSE in library code 2021-03-02 05:20:03 -08:00
Dana Robinson
7d53a8b837 Removed the rest of the hlog code 2021-03-02 04:34:09 -08:00
Dana Robinson
6661b21e9a Stripped hlog code from H5MV.c 2021-03-02 04:07:31 -08:00
Dana Robinson
f1bc0c97a9 Makes libgen.h functions ready for implementation on Windows 2021-03-02 03:22:50 -08:00
Dana Robinson
6639693cff Removed most C library include lines from tests 2021-03-02 02:51:55 -08:00
Dana Robinson
eea7c11b6a Fix unfreed memory after fork in vfd_swmr test
The writer configuration in the vfd_swmr test was not freed in the
child process after a call to fork() causing a memory leak.
2021-03-02 02:39:36 -08:00
Dana Robinson
7b603397c3 Switches memcpy to H5MM_memcpy in H5Fvfd_swmr.c 2021-03-02 02:29:01 -08:00
Dana Robinson
4173c4b0b9 Switches H5FDvfd_swmr.c memory calls to use H5MM 2021-03-02 02:13:31 -08:00
Dana Robinson
cd3011edad H5MF.c cleanup
* Removes hlog code
* Mostly meets THG coding standards now
* Still needs commenting and probably another tidying pass
2021-03-02 01:40:05 -08:00
Dana Robinson
46865e70af Switches H5MF memory calls to use H5MM 2021-03-01 20:32:15 -08:00
Dana Robinson
65bf098ee6 Adds HD prefix to POSIX calls in src 2021-03-01 20:25:33 -08:00
vchoi
d9f44665cd Revert "Add the two VFD SWMR demo programs to the test directory so that they can be built as needed."
This reverts commit f6e7edcedf.
2021-03-01 18:10:07 -06:00
vchoi
f792bdbbc5 Merge remote-tracking branch 'canonical/feature/vfd_swmr' into feature/vfd_swmr 2021-03-01 18:04:33 -06:00
Dana Robinson
3d90a076fb Fixes include guards for a few headers 2021-03-01 14:31:16 -08:00
Dana Robinson
fa87a22f82 Fixes the MANIFEST
Also renames "SWMR Example.png" to SWMR_Example.png since the MANIFEST
doesn't deal with spaces very well.
2021-03-01 14:24:50 -08:00
Dana Robinson
db95737047 Merge pull request #388 from derobins/vfd_swmr/H5FD_public_fix
Moves the BSD queue to a wrapper to keep it out of the public API
2021-03-01 14:06:03 -08:00
Dana Robinson
d7b277a22a Improves autotools and CMake support for sigtimedwait alternative 2021-03-01 13:54:27 -08:00
Dana Robinson
051cf5330b Minor change to H5FDvfd_swmr.h include guard name 2021-03-01 12:47:53 -08:00
Dana Robinson
77f2b0b207 Fixes leading underscores in VFD SWMR include guards 2021-03-01 12:45:20 -08:00
vchoi
f6e7edcedf Add the two VFD SWMR demo programs to the test directory so that they can be built as needed. 2021-02-26 13:54:11 -06:00
Dana Robinson
0e9f9a280a Adds MacOS work-around for sigtimedwait(2) in the VFD SWMR tests 2021-02-26 11:34:53 -08:00
Dana Robinson
0a1444ea78 Adapts H5queue.h to work on MacOS 2021-02-26 11:21:49 -08:00
Dana Robinson
90bfcb9fba Moves H5queue.h to H5private.h and yanks circular queue macros 2021-02-26 10:39:46 -08:00
Dana Robinson
ba5808196e Moves H5queue.h from H5FDpublic.h to H5FD.c 2021-02-26 10:03:54 -08:00
Dana Robinson
8c7b4c7de3 Moves the BSD queue to a wrapper to keep it out of the public API 2021-02-26 03:37:03 -08:00
raylu-hdf
511b940da6 Merge pull request #331 from HDFGroup/raylu_fixed_array
Adding the test case for fixed-array chunked dataset and VDS
2021-02-15 11:31:16 -06:00
songyulu
c20fb7c76d Corrected a typo in the comment. 2021-02-15 11:26:34 -06:00
songyulu
1d6b21a4a1 Added some comments. 2021-02-12 16:21:34 -06:00
songyulu
ddd24e2651 Adding the test case for fixed-array chunked dataset and VDS. 2021-02-12 11:26:39 -06:00
vchoi-hdfgroup
85ae0a2687 Merge pull request #305 from vchoi-hdfgroup/feature/vfd_swmr
(1) Add new routine to configure for VFD SWMR: init_vfd_swmr_config()
2021-02-02 18:11:45 -06:00
vchoi
d8e77f13be (1) Add new routine to configure for VFD SWMR: init_vfd_swmr_config()
(2) Revise routine to setup fapl for VFD SWMR legacy and other integration tests: vfd_swmr_create_fapl()
(3) Update all VFD SWMR integration tests to use the above two routines
(4) Clean up VFD SWMR legacy tests: turn on compression in test script, remove #ifdef OUT H5Fflush(), message file name
2021-02-02 16:01:35 -06:00
Dana Robinson
592f8b738e Merge pull request #35 from derobins/thg/feature/vfd_swmr
Updates CMake files to work with VFD SWMR
2020-10-14 12:18:41 -07:00
Dana Robinson
16fbbfb766 Updates CMake files to work with VFD SWMR
- CMake files were updated to build new files in src and test.

- As with legacy SWMR, the test programs that are run via shell
  scripts are built but not run.

- Updated whitespace in the links_env output file. It's unclear why
  this changed, but CMake does an exact diff on the file whereas
  the autotools do not.
2020-10-14 10:45:53 -07:00
John Mainzer
0698d23269 Merge pull request #2893 in HDFFV/hdf5 from ~MAINZER/vfd_swmr:feature/vfd_swmr to feature/vfd_swmr
* commit '47b1c667c64677d2e28c4128fc027cfdfe60b354':
  More minor edits to users guide.
  Updated users guide for location of alpha 1 release & repaired several typos.
  Added .pdf and .docx versions of the most recent version of the VFD SWMR RFC.  Updates on the RFC are cursory, and mostly in the introduction.  The design section is dated -- added a warning to this effect.
2020-09-21 17:41:09 -05:00