This revision was automatically updated to reflect the committed changes.
Closed by commit rL319492: [lldb] A few minor fixes in TaskPool (authored by
alexshap).
Changed prior to commit:
https://reviews.llvm.org/D40587?vs=124661&id=125036#toc
Repository:
rL LLVM
https://reviews.llvm.org/D40
fjricci added inline comments.
Comment at: source/Host/common/TaskPool.cpp:55
+ static const unsigned g_hardware_concurrency =
+std::max(1u, std::thread::hardware_concurrency());
+ return g_hardware_concurrency;
Is 1 the best default here when hardware_con
labath added a comment.
Looks good, thanks.
Repository:
rL LLVM
https://reviews.llvm.org/D40587
___
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits