Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [lldb] A few minor fixes in TaskPool | Alexander Shaposhnikov | 2017-11-30 | 1 | -0/+2 |
| | | | | | | | | | | | | | 1. Move TaskPool into the namespace lldb_private. 2. Add missing std::move in TaskPoolImpl::Worker. 3. std::thread::hardware_concurrency may return 0, handle this case correctly. Differential revision: https://reviews.llvm.org/D40587 Test plan: make check-all llvm-svn: 319492 | ||||
* | Use ThreadLauncher to launch TaskPool threads | Francis Ricci | 2017-09-19 | 1 | -0/+43 |
Summary: This allows for the stack size to be configured, which isn't possible with std::thread. Prevents overflowing the stack when performing complex operations in the task pool on darwin, where the default pthread stack size is only 512kb. This also moves TaskPool from Utility to Host. Reviewers: labath, tberghammer, clayborg Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D37930 llvm-svn: 313637 |