[Lldb-commits] [lldb] [lldb] Fix race/timeout in TestInternalThreadSuspension (PR #203202)
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Tue Jun 16 03:59:41 PDT 2026
================
@@ -40,8 +44,9 @@ main()
pthread_mutex_lock(&signal_mutex);
pthread_create(&suspend_thread, NULL, suspend_func, NULL);
- pthread_cond_wait(&signal_cond, &signal_mutex);
-
+ while (!g_signaled)
----------------
Teemperor wrote:
Yeah that actually makes more sense, removed the variable as we only have one thread waiting. Thanks!
https://github.com/llvm/llvm-project/pull/203202
More information about the lldb-commits
mailing list