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

Merge pull request #2240 from synqa/suppress-tsan-threadpoolproc

Suppress Thread Sanitizer for ThreadPoolProc
This commit is contained in:
Ilya Shipitsin
2026-02-21 15:35:56 +01:00
committed by GitHub

View File

@ -17,6 +17,10 @@ race_top:BindConnectThreadForIPv4
race_top:BindConnectThreadForIPv6 race_top:BindConnectThreadForIPv6
race_top:BindConnectEx5 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 ## Manual PTHREAD_MUTEX_RECURSIVE
# The Lock/Unlock mechanism on Unix is a manual, hand-coded implementation of PTHREAD_MUTEX_RECURSIVE. # The Lock/Unlock mechanism on Unix is a manual, hand-coded implementation of PTHREAD_MUTEX_RECURSIVE.