You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example contains implementations of two thread-safe queues. One relies on abseil synchronization primitives, and the other one on std::. Both implementations are conceptually the same, but TSan gives two warnings about data races on abseil implementation, and reports zero issues for std:: implementation.
Steps to reproduce the problem
First clone the example mentioned in description:\
git clone https://github.com/lnikon/abslstdthsqueues && cd abslstdthsqueues\
Then install absl via Conan2, generate project via CMake, and build. As a build result you will have two executables: AbslMain using abseil based thread-safe queue, and StdMain using std:: based one.\
Describe the issue
Link to repo with reproducible examples: https://github.com/lnikon/abslstdthsqueues
This example contains implementations of two thread-safe queues. One relies on abseil synchronization primitives, and the other one on std::. Both implementations are conceptually the same, but TSan gives two warnings about data races on abseil implementation, and reports zero issues for std:: implementation.
Steps to reproduce the problem
First clone the example mentioned in description:\
git clone https://github.com/lnikon/abslstdthsqueues && cd abslstdthsqueues
\Then install absl via Conan2, generate project via CMake, and build. As a build result you will have two executables: AbslMain using abseil based thread-safe queue, and StdMain using std:: based one.\
conan install . --output-folder=build --build=missing --profile=default
cmake --preset conan-release
cmake --build ./build
\To run them:
./build/AbslMain
./build/StdMain
What version of Abseil are you using?
abseil/20240722.0
What operating system and version are you using?
Distro: Fedora Linux 40
Kernel: 6.10.12-200.fc40.x86_64
What compiler and version are you using?
clang version 18.1.8 (Fedora 18.1.8-1.fc40)
What build system are you using?
cmake version 3.28.2
Additional context
The text was updated successfully, but these errors were encountered: