- Move everything into the namespace lldb_private
- Add missing std::move in TaskPoolImpl::Worker
- std::thread::hardware_concurrency may return 0, handle this case correctly
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
source/Host/common/TaskPool.cpp | ||
---|---|---|
55 | Is 1 the best default here when hardware_concurrency() isn't computable? Seems like it could have some big performance implications, and I'm not sure how common it is for people to debug on host machines that only support one thread. |
Is 1 the best default here when hardware_concurrency() isn't computable? Seems like it could have some big performance implications, and I'm not sure how common it is for people to debug on host machines that only support one thread.