summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace cleanupAllen Byrne2020-05-13104-1240/+1242
|
* Whitespace cleanupAllen Byrne2020-05-1348-2020/+2022
|
* Whitespace cleanupAllen Byrne2020-05-1219-188/+187
|
* Whitespace cleanupAllen Byrne2020-05-122-16/+16
|
* Whitespace cleanupAllen Byrne2020-05-128-8/+8
|
* Whitespace cleanupAllen Byrne2020-05-1224-314/+312
|
* Whitespace cleanupAllen Byrne2020-05-1224-191/+191
|
* Whitespace cleanupAllen Byrne2020-05-1221-271/+271
|
* Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_12)Allen Byrne2020-05-125-71/+273
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e399be1e9156840aa0664323dfc00a93ac43575c': Complete the comment on thread_main(), explaining why the barrier is used. 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. Test the right condition for the EBUSY return in pthread_barrier_destroy(). s/exit_failure/EXIT_FAILURE/g Implement pthread_barrier(3) for Darwin using a counter, condition variable, and mutex. Untested. Use HD prefix. Provide local copies of err(3)- and errx(3)-alike functions for Visual Studio compatibility. Oops, the test has to return success in the unimplemented case. src/H5Eint.c: #include H5TSprivate.h for H5TS_thread_id() definitions. Remove tongue-in-cheek credit for Rusty Shackleford and Dale Alvin Gribble. Follow HDF5 conventions. Make sure that H5TS_thread_id() is available as either a function or a macro in all configurations. Use a naked pthread_self() call in the HDF5 thread wrappers. If H5_HAVE_THREADSAFE is not #defined, define nothing but a stub implementation of H5TS_thread_id().
| * Merge pull request #2575 in HDFFV/hdf5 from ↵Larry Knox2020-05-125-71/+273
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ~DYOUNG/werror:fix-thread_id-1_12 to hdf5_1_12 * commit 'f0485413e02ebf1117e5b1725f32534e7e26b622': Complete the comment on thread_main(), explaining why the barrier is used. 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. Test the right condition for the EBUSY return in pthread_barrier_destroy(). s/exit_failure/EXIT_FAILURE/g Implement pthread_barrier(3) for Darwin using a counter, condition variable, and mutex. Untested. Use HD prefix. Provide local copies of err(3)- and errx(3)-alike functions for Visual Studio compatibility. Oops, the test has to return success in the unimplemented case. src/H5Eint.c: #include H5TSprivate.h for H5TS_thread_id() definitions. Remove tongue-in-cheek credit for Rusty Shackleford and Dale Alvin Gribble. Follow HDF5 conventions. Make sure that H5TS_thread_id() is available as either a function or a macro in all configurations. Use a naked pthread_self() call in the HDF5 thread wrappers. If H5_HAVE_THREADSAFE is not #defined, define nothing but a stub implementation of H5TS_thread_id().
| | * Complete the comment on thread_main(), explaining why the barrier is used.David Young2020-05-111-1/+9
| | |
| | * The first implementation seemed to allow for the possibility that a threadDavid Young2020-05-111-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * Test the right condition for the EBUSY return in pthread_barrier_destroy().David Young2020-05-111-1/+1
| | |
| | * s/exit_failure/EXIT_FAILURE/gDavid Young2020-05-111-2/+2
| | |
| | * Implement pthread_barrier(3) for Darwin using a counter, condition variable,David Young2020-05-111-0/+123
| | | | | | | | | | | | and mutex. Untested.
| | * Use HD prefix.David Young2020-05-111-13/+13
| | |
| | * Provide local copies of err(3)- and errx(3)-alike functionsDavid Young2020-05-111-7/+37
| | | | | | | | | | | | for Visual Studio compatibility.
| | * Oops, the test has to return success in the unimplemented case.David Young2020-05-111-3/+2
| | |
| | * src/H5Eint.c: #include H5TSprivate.h for H5TS_thread_id() definitions.David Young2020-05-112-2/+3
| | | | | | | | | | | | test/thread_id.c: move threads_failure() inside #ifdefs.
| | * Remove tongue-in-cheek credit for Rusty Shackleford and Dale Alvin Gribble.David Young2020-05-111-21/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Delete the comment questioning whether pthread_mutex_lock is allowed in a key destructor, since pthread_key_create(3) provides the answer: There is no notion of a destructor-safe function. If an application does not call pthread_exit() from a signal handler, or if it blocks any signal whose handler may call pthread_exit() while calling async-unsafe functions, all functions may be safely called from destructors. Delete redundant comment.
| | * Follow HDF5 conventions.David Young2020-05-111-30/+89
| | |
| | * Make sure that H5TS_thread_id() is available as either a function or a macro inDavid Young2020-05-112-12/+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.
| | * Use a naked pthread_self() call in the HDF5 thread wrappers.David Young2020-05-112-6/+2
| | |
| | * If H5_HAVE_THREADSAFE is not #defined, define nothing but a stub implementationDavid Young2020-05-111-0/+7
| |/ | | | | | | of H5TS_thread_id().
* | Whitespace cleanup compared to developAllen Byrne2020-05-0922-67/+67
| |
* | Whitespace cleanup compared to developAllen Byrne2020-05-0913-74/+74
|/
* Merge pull request #2569 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_12 to ↵Allen Byrne2020-05-087-14/+18
|\ | | | | | | | | | | | | | | | | hdf5_1_12 * commit 'ce7ee643c6fe9eecdf02ee9efbd77b2e9aea6e2d': disable pr action and enable fail fast Correct filename OESS-65 Fix packaging
| * disable pr action and enable fail fastAllen Byrne2020-05-081-3/+3
| |
| * Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_12)Allen Byrne2020-05-0816-128/+557
| |\ | |/ |/| | | | | | | | | | | | | | | * commit '943129f61000899e394b75405723a3f110a21205': Add note to release notes. Change thread IDs to uint64_t from unsigned long, per Quincey's suggestion. Add thread_id.c to the MANIFEST and the CMakeLists.txt per Allen's request. 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. Align contents of CMake and autotools testfile cleanup lists. Avoid allocating a chunk index for datasets with 0-sized dimensions, until the dataset is extended.
* | Merge pull request #2567 in HDFFV/hdf5 from alloc_0sized_dset_fix_1_12 to ↵Quincey Koziol2020-05-0816-128/+557
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hdf5_1_12 * commit '8dc9001a21cc3101059335a394e1f0bb7e3c3867': Add note to release notes. Change thread IDs to uint64_t from unsigned long, per Quincey's suggestion. Add thread_id.c to the MANIFEST and the CMakeLists.txt per Allen's request. 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. Align contents of CMake and autotools testfile cleanup lists. Avoid allocating a chunk index for datasets with 0-sized dimensions, until the dataset is extended.
| * | Add note to release notes.Quincey Koziol2020-05-071-1/+4
| | |
| * | Merge branch 'hdf5_1_12' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 ↵Quincey Koziol2020-05-071-1/+1
| |\ \ | |/ / |/| | | | | into hdf5_1_12
| * | Change thread IDs to uint64_t from unsigned long, per Quincey's suggestion.David Young2020-05-066-19/+20
| | | | | | | | | | | | | | | Fix a typo in the H5TS_thread_init() comment and reword some ID properties.
| * | Add thread_id.c to the MANIFEST and the CMakeLists.txt per Allen'sDavid Young2020-05-062-0/+2
| | | | | | | | | | | | request.
| * | Replace pthread_self_ulong() with H5TS_thread_id(). The POSIX ThreadsDavid Young2020-05-069-25/+288
| | | | | | | | | | | | | | | implementation ought to be portable to any system that has POSIX Threads. On Windows, I use the same API call as before.
| * | Merge branch 'hdf5_1_12' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 ↵Quincey Koziol2020-05-069-25/+109
| |\ \ | | | | | | | | | | | | into hdf5_1_12
| * | | Align contents of CMake and autotools testfile cleanup lists.Quincey Koziol2020-05-042-89/+53
| | | |
| * | | Avoid allocating a chunk index for datasets with 0-sized dimensions, untilQuincey Koziol2020-05-044-13/+209
| | | | | | | | | | | | | | | | the dataset is extended.
| | | * Correct filenameAllen Byrne2020-05-081-7/+7
| | | |
| | | * OESS-65 Fix packagingAllen Byrne2020-05-086-4/+8
| |_|/ |/| |
* | | Merge pull request #2566 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_12 to ↵Allen Byrne2020-05-071-1/+1
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | hdf5_1_12 * commit 'a9c980cb28e912f5f4a74fcf1ac999000982bf21': Correct path
| * | Correct pathAllen Byrne2020-05-071-1/+1
|/ /
* | Merge pull request #2562 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_12 to ↵Allen Byrne2020-05-069-25/+109
|\ \ | |/ |/| | | | | | | | | hdf5_1_12 * commit 'e0183056d5362f2198726281e446e02912120d4d': Add github actions and cleanup java whitespace
| * Add github actions and cleanup java whitespaceAllen Byrne2020-05-069-25/+109
|/
* Merge pull request #2546 in HDFFV/hdf5 from ~BYRN/hdf5_adb:hdf5_1_12 to ↵Allen Byrne2020-04-2713-108/+102
|\ | | | | | | | | | | | | hdf5_1_12 * commit '38e923b85367b9e1428a3d284cb3c09c9fe8a108': OESS-65 replace szip with aec library
| * OESS-65 replace szip with aec libraryAllen Byrne2020-04-2713-108/+102
|/
* Merge pull request #2528 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_12 to ↵hdftest2020-04-2717-117/+196
|\ | | | | | | | | | | | | | | | | | | | | hdf5_1_12 * commit '8a4905b9d329b582b04d1cc2705d9e367f4dd20b': Restrict errors to gcc 4.8 and above. Merge pull request #2537 in HDFFV/hdf5 from ~DYOUNG/werror:fix-werrors to develop Fix NoFilter build TRILAB-244 separate CXX warnings and errors from C Don't add general warnings flags for unsupported old versions of gcc and g++ (older than gcc/g++ 4.2). Correct gnu-cxxflags to determine warnings flags to be added based on C++ compiler version instead of C compiler version.
| * Restrict errors to gcc 4.8 and above.Allen Byrne2020-04-262-25/+22
| |
| * Merge pull request #2537 in HDFFV/hdf5 from ~DYOUNG/werror:fix-werrors to ↵David Young2020-04-262-6/+3
| | | | | | | | | | | | | | | | | | develop * commit 'd16eb45d536bd13ca3cf1b0bdc76c58d95d13f17': For compatibility with non-C99 Visual Studio versions, use "%" PRIuMAX instead of "%ju". Fix `test/swmr_sparse_reader.c:118:77: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]` and `test/snapshots-hdf5/current/test/swmr_sparse_reader.c:129:100: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]`. Fix `src/H5FDdirect.c:1346:5: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]`.
| * Fix NoFilter buildAllen Byrne2020-04-261-1/+1
| |