Dana Robinson
2ddf5fbd92
Much normalization with develop ( #701 )
...
* Brings CMake updates from develop
* Brings reduction in pedantic casts from develop
* Purges UFAIL from the library (#637 )
* Committing clang-format changes
* Purges UFAIL from the library
* H5HL_insert change requested in PR
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Removes gratuitous (double)x.yF casts (#632 )
* Committing clang-format changes
* Removes gratuitous (double)x.yF casts
* Committing clang-format changes
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Committing clang-format changes
* Cleans up a const warning left over from previous constification (#633 )
* Committing clang-format changes
* Adds consts to a few global variables
* Cleans up a const warning left over from previous constification
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Formatted source
* Bring over some VOL registration changes
* VOL cleanup
* H5VL_request_status_t substitutions
* H5F.c cleanup
* Minor API tweaks from develop
* Moves H5G package init/teardown to H5Gint.c
* H5G cleanup
* H5M cleanup
* H5SM cleanup
* H5T cleanup
* H5R cleanup
* H5Lpublic.h cleanup
* H5L cleanup
* H5O cleanup
* H5A, H5CS, and H5AC cleanup
* Moved H5A init/teardown code to H5Aint.c
* Moves H5D I/O functions to H5D.c
* H5D cleanup
* Misc minor cleanup
* H5P close cleanup
* H5Tpublic.h cleanup
* Fixes err_compat test
* H5PLpublic.h cleanup
* Updates H5Ppublic.h
* H5Fpublic.h updates
* H5A.c cleanup
* Brings over H5Aexists and related changes
* Brings CMake shell testing changes from develop
* Close callback changes
* H5R and H5Tcommit normalization
* err_compat test works now
* H5O tweaks
* Updates VOL registration code
* Brings over H5VL_create_object
* H5Tconv.c reformatting
* H5T.c tweaks
* Brings datatype and reference updates from develop
* Brings VOL plugin loading changes from develop
* Brings event sets from develop
* Brings async functions over
* Tools changes
* Brings over many tools changes from develop
* Brings VOL flags from develop
* Fixes h5dump double/float tests
* Updates h5repack tests
* Brings h5diff test changes from develop
* Last h5dump changes
* Brings test changes from develop
* Committing clang-format changes
* Tidied h5_testing()
* Brings chunk iteration code + misc from develop
* Updates vds test
* Enables external link parallel test
* Brings updated property lists from develop
* H5G changes from develop
* H5MF cleanup
* Brings vfd_swmr test back into CMake
* Updates threadsafe test
* Updates plist test
* Brings recent changes from develop
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-05-28 07:10:51 -07:00
Dana Robinson
67cfa2396c
Updates license url and history docs
2021-03-24 18:29:11 -07:00
Dana Robinson
feb20aac30
Formats the source and updates the gcc warning pragmas
2021-03-24 17:39:37 -07:00
Quincey Koziol
d35daa45e9
Trim trailing whitespace
2020-05-20 09:37:19 -05:00
David Young
4bbd9649c0
Complete the comment on thread_main(), explaining why the barrier is used.
2020-05-20 09:31:55 -05:00
David Young
4562a584af
The first implementation seemed to allow for the possibility that a thread
...
could block at the barrier, wake and exit the barrier, re-acquire the barrier
lock and increase `nentered` before the other blocked threads woke and checked
`nentered % count == 0`. Then the other blocked threads would check `nentered
% count == 0` and, finding it false, go back to sleep in the barrier. This new
implementation waits for a looser condition to obtain so that threads don't go
back to sleep in the barrier.
2020-05-20 09:31:55 -05:00
David Young
88920baf53
Test the right condition for the EBUSY return in pthread_barrier_destroy().
2020-05-20 09:31:55 -05:00
David Young
b7f27e0381
s/exit_failure/EXIT_FAILURE/g
2020-05-20 09:31:55 -05:00
David Young
8c5e0a1e53
Implement pthread_barrier(3) for Darwin using a counter, condition variable,
...
and mutex. Untested.
2020-05-20 09:31:55 -05:00
David Young
5640d832e4
Use HD prefix.
2020-05-20 09:31:55 -05:00
David Young
50d7f83e6e
Provide local copies of err(3)- and errx(3)-alike functions
...
for Visual Studio compatibility.
2020-05-20 09:31:55 -05:00
David Young
f6bf61975e
Oops, the test has to return success in the unimplemented case.
2020-05-20 09:31:54 -05:00
David Young
cc57aa73c8
src/H5Eint.c: #include H5TSprivate.h for H5TS_thread_id() definitions.
...
test/thread_id.c: move threads_failure() inside #ifdefs.
2020-05-20 09:31:54 -05:00
David Young
364a277143
Change thread IDs to uint64_t from unsigned long, per Quincey's suggestion.
...
Fix a typo in the H5TS_thread_init() comment and reword some ID
properties.
2020-05-20 09:31:54 -05:00
David Young
06dfd6025d
Replace pthread_self_ulong() with H5TS_thread_id(). The POSIX Threads
...
implementation ought to be portable to any system that has POSIX
Threads. On Windows, I use the same API call as before.
2020-05-20 09:31:54 -05:00