aeron
aeron copied to clipboard
TSAN reports data races
TSAN emits whole bunch of data race warnings on a simple single publisher, single subscriber application. Log attached. Threading model of the application:
- Both publisher and subscriber are on the main thread
- Client on a dedicated thread
- Embedded driver on a dedicated thread with a shared threading strategy
Many (all?) of the warnings look like false positives due to atomic operations that TSAN does not understand. The list of supported operations are documented here: https://github.com/google/sanitizers/wiki/ThreadSanitizerAtomicOperations