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.


http://reviews.llvm.org/D13727



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to