1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2026-02-22 18:40:08 +03:00

Suppress Thread Sanitizer for ThreadPoolProc

Thread Sanitizer reports data races on PoolHalting in THREAD, shared
between ThreadPoolProc and WaitThread. But if WaitThread reads false,
synchronization is ensured by Wait from the PoolWaitList. If it reads
true, WaitThread simply returns.
This commit is contained in:
synqa
2026-02-21 20:26:39 +09:00
parent e0c86ab4a6
commit 5b356616a7

View File

@ -17,6 +17,10 @@ race_top:BindConnectThreadForIPv4
race_top:BindConnectThreadForIPv6
race_top:BindConnectEx5
# Thread Sanitizer reports data races on PoolHalting in THREAD, shared between ThreadPoolProc and WaitThread.
# But if WaitThread reads false, synchronization is ensured by Wait from the PoolWaitList. If it reads true,
# WaitThread simply returns.
race_top:ThreadPoolProc
## Manual PTHREAD_MUTEX_RECURSIVE
# The Lock/Unlock mechanism on Unix is a manual, hand-coded implementation of PTHREAD_MUTEX_RECURSIVE.