mirror of
https://github.com/boostorg/atomic.git
synced 2026-02-02 20:32:09 +00:00
0e5e52efad4cf6ffa3625d8a8efafff2406831cd
Increased lock pool size to 64 entries and improve pool efficiency: - Shift off lower pointer bits that are zero due to object alignment. - Mix higher pointer bits to account for alignment typically imposed by malloc/new implementations. - Use bit masking to select a lock from pool, given that the pool size is a power of 2 now. Also, extracted (u)intptr_t definition to a common header to avoid code duplication.
Boost.Atomic, part of collection of the Boost C++ Libraries, implements atomic operations for various CPU architectures, reflecting and extending the standard interface defined in C++11.
Directories
- build - Boost.Atomic build scripts
- doc - QuickBook documentation sources
- include - Interface headers of Boost.Atomic
- src - Compilable source code of Boost.Atomic
- test - Boost.Atomic unit tests
More information
- Documentation
- Report bugs. Be sure to mention Boost version, platform and compiler you're using. A small compilable code sample to reproduce the problem is always good as well.
- Submit your patches as pull requests against develop branch. Note that by submitting patches you agree to license your modifications under the Boost Software License, Version 1.0.
Build status
License
Distributed under the Boost Software License, Version 1.0.
Description
Languages
C++
99.3%
CMake
0.7%
