Page MenuHomePhabricator

Replace RecursiveMutex cs_addrLocal with Mutex, and rename it
ClosedPublic

Authored by PiRK on Nov 3 2023, 15:41.

Details

Summary

scripted-diff: rename cs_addrLocal -> m_addr_local_mutex

-BEGIN VERIFY SCRIPT-
sed -i 's/cs_addrLocal/m_addr_local_mutex/g' -- $(git grep --files-with-matches 'cs_addrLocal')
-END VERIFY SCRIPT-

p2p: add assertions and negative TS annotations for m_addr_local_mutex

refactor: replace RecursiveMutex m_addr_local_mutex with Mutex

This is a backport of core#24108

Test Plan

with clang debug and tsan
ninja check check-all