JDevlieghere added inline comments.
================ Comment at: lldb/test/API/functionalities/scripted_process/main.cpp:25-26 void call_and_wait(int &n) { - std::cout << "waiting for computation!" << std::endl; - while (baz(n) != 42) + while (baz(n, mutex, cv) != 42) { ; + } ---------------- Unless I misunderstand the code, I don't think you need this while loop anymore. `baz` should block until the condition variable is changed. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D139484/new/ https://reviews.llvm.org/D139484 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits