[Lldb-commits] [PATCH] D13727: Add task pool to LLDB
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Wed Oct 14 09:55:01 PDT 2015
zturner added a comment.
Can this be done in such a way that everything boils down to a single call to std::async on platforms that support thread limiting?
Alternatively, why not just put a semaphore inside of the lambda that you run with std::async to limit the number of threads? This seems overly complicated when you could solve it much simpler in a way that makes the most efficient use of every platform's asynchronous handling support.
More information about the lldb-commits