[Lldb-commits] [PATCH] D133181: [test] Remove problematic thread from MainLoopTest to fix flakiness

Jordan Rupprecht via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 2 10:20:00 PDT 2022


rupprecht added a comment.

In D133181#3767072 <https://reviews.llvm.org/D133181#3767072>, @labath wrote:

> It might be a good idea to also change the `kill(getpid(), sig);` statements into `raise(sig)` (a.k.a. `pthread_kill(pthread_self(), sig)`), so that they're sent to a specific thread, instead of the whole process.

Nice, that also works. It fixes the problem on its own, but I'll leave both changes in (removing the async too).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133181/new/

https://reviews.llvm.org/D133181



More information about the lldb-commits mailing list