Path to this page:
Subject: CVS commit: pkgsrc/parallel/threadingbuildingblocks
From: Adam Ciarcinski
Date: 2021-07-14 19:56:16
Message id: 20210714175616.75368FA95@cvs.NetBSD.org
Log Message:
threadingbuildingblocks: updated to 2021.3.0
New in 2021.3 Release
New Features
Since C++20 multiple interfaces are constrained to enforce requirements on \
argument types.
Preview Features
Extended the high-level task API to simplify migration from TBB to oneTBB.
Added mutex and rw_mutex that are suitable for long critical sections and \
resistant to high contention.
Added ability to customize the concurrent_hash_map mutex type.
Added heterogeneous lookup, erase, and insert operations to concurrent_hash_map.
Known Limitations
An application using Parallel STL algorithms in libstdc++ versions 9 and 10 may \
fail to compile due to incompatible interface changes between earlier versions \
of Threading Building Blocks (TBB) and oneAPI Threading Building Blocks \
(oneTBB). Disable support for Parallel STL algorithms by defining \
PSTL_USE_PARALLEL_POLICIES (in libstdc++ 9) or _GLIBCXX_USE_TBB_PAR_BACKEND (in \
libstdc++ 10) macro to zero before inclusion of the first standard header file \
in each translation unit.
On Linux, if oneAPI Threading Building Blocks (oneTBB) or Threading Building \
Blocks (TBB) is installed in a system folder like /usr/lib64, the application \
may fail to link due to the linker search order for libraries. Use the -L linker \
option to specify the correct location of oneTBB libraries. This issue does not \
affect program execution.
The oneapi::tbb::info namespace interfaces might unexpectedly change the process \
affinity mask on Windows systems (see \
https://github.com/open-mpi/hwloc/issues/366 for details).
Bugs Fixed
Fixed several issues in parallel algorithms and concurrent containers on ARM.
Improved ThreadSanitizer support for the oneTBB Scalable Memory Allocator.
Improved scheduler to reduce the impact of thread priority inversion.
Fixed the behavior of affinity_partitioner and static_partitioner to resolve \
possible performance issues.
Fixed crash when finalize is called with null scheduler_handler.
Fixed the oneTBB assertion mechanism to avoid possible leaking of user directory \
paths.
Fixed crash in resumable tasks on ARM-based macOS.
Fixed compilation failures
Files: