summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2022-02-09 16:14:15 +0100
committerPavel Labath <pavel@labath.sk>2022-02-09 16:18:27 +0100
commit9611282c64f4cec1d6d0d997202762fa38e99663 (patch)
tree22d450df4fdba8092f108c894cfbd75b6848e6e9 /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py
parent96000f5c2bf99365bb45528898c864fcb1c7780b (diff)
[lldb] Stabilize threaded windows lldb-server tests
The tests enabled in 9e699595 are not passing reliably -- sometimes they report seeing fewer threads than expected. Based on my (limited) research, this is not a lldb bug, but simply a consequence of the operating system reporting their presence asynchronously -- they're reported when they are scheduled to run (or something similar), and not at the time of the CreateThread call. To fix this, I add some additional synchronization to the test inferior, which makes sure that the created thread is alive before continuing to do other things.
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions