[Lldb-commits] [lldb] [lldb/test] Replace pause() with atomic barrier in thread_filter test (PR #190917)

Med Ismail Bennani via lldb-commits lldb-commits at lists.llvm.org
Wed Apr 8 08:47:40 PDT 2026


medismailben wrote:

> The change seems fine but the test is still failing?

@JDevlieghere sorry I missed your message. In some cases, given the breakpoint was on the while loop, it could happen that a thread would exit right away, cause the check of number of stopped thread to fail. I addressed that by adding a second loop after the breakpoint to make sure all 3 threads to be still available during the check.

https://github.com/llvm/llvm-project/pull/190917


More information about the lldb-commits mailing list