mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
9fd88560d5
Complete overhaul of the concurrency-related aspects of the library (threading, atomics, locking, etc.), adding private routines in the H5TS package to allow internal algorithms to use all of these capabilities. Adds many new features & components in the H5TS package that are equivalent to common concurrency data structures and capabilities: "regular" and recursive mutices, condition variables, semaphores, thread barriers, 'once' support, thread pools, atomic variables, thread-local keys, and spawning & joining internal threads. Now supports C11, pthreads, and Windows threading for all H5TS capabilities, except the recursive readers/writers lock, which is not supported on Windows (because Windows threads don't provide a callback on thread-local variable deletion). The "global" API lock is switched to use a recursive mutex from the H5TS package, instead of its own variant. API context code (H5CX package) and error stacks (H5E package) now use the common thread-local info, instead of their own variants. Subfiling code is switched from using Mercury threading features to the new internal H5TS features. Removes the mercury threading code. Adds a configure option (--enable-threads / HDF5_ENABLE_THREADS), enabled by default, to control whether threading is enabled within the library. |
||
---|---|---|
.. | ||
4.8 | ||
4.8-4.last | ||
4.9 | ||
5 | ||
6 | ||
7 | ||
8 | ||
9 | ||
9.3 | ||
cxx-4.8 | ||
cxx-4.9 | ||
cxx-5 | ||
cxx-9 | ||
cxx-developer-4.8 | ||
cxx-error-5 | ||
cxx-error-general | ||
cxx-general | ||
developer-4.8 | ||
developer-7 | ||
developer-8 | ||
developer-10 | ||
developer-12 | ||
developer-general | ||
error-5 | ||
error-7 | ||
error-8 | ||
error-general | ||
general | ||
gfort-4.8 | ||
gfort-6 | ||
gfort-8 | ||
gfort-developer-4.8 | ||
gfort-developer-5 | ||
gfort-developer-general | ||
gfort-general | ||
gfort-no-developer-4.8 | ||
gfort-no-developer-general | ||
no-cxx-developer-4.8 | ||
no-developer-4.8 | ||
no-developer-8 | ||
no-developer-general |