aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorChristopher Ferris <cferris1000@users.noreply.github.com>2025-12-09 13:30:46 -0800
committerGitHub <noreply@github.com>2025-12-09 13:30:46 -0800
commit64ee4bf73411d1462fec0c2c2b5c44aaaa3a1903 (patch)
tree8a51cdf0d5a4deae78cf45db936ca4d7e7715d33 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent926cbddc185e035a4266f25203e81eec8960f114 (diff)
downloadllvm-64ee4bf73411d1462fec0c2c2b5c44aaaa3a1903.zip
llvm-64ee4bf73411d1462fec0c2c2b5c44aaaa3a1903.tar.gz
llvm-64ee4bf73411d1462fec0c2c2b5c44aaaa3a1903.tar.bz2
[scudo] Refactor initialization of TSDs. (#169738)
Instead of getting a lock and then checking/modifying the Initialization variable, make it an atomic. Doing this, we can remove one of the mutexes in shared TSDs and avoid any potential lock contention in both shared TSDs and exclusive TSDs if multiple threads do allocation operations at the same time. Add two new tests that make sure no crashes occur if multiple threads try and do allocations at the same time.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions