================ @@ -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 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
