Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Build TaskQueueTest in threads=on builds, fixes regression from r335608. | Nico Weber | 2018-06-27 | 1 | -0/+2 |
| | | | | llvm-svn: 335724 | ||||
* | Fix LLVM_ENABLE_THREADS=0 builds after r335440. | Nico Weber | 2018-06-26 | 1 | -1/+2 |
| | | | | llvm-svn: 335608 | ||||
* | One more build fix for non MSVC compilers. | Zachary Turner | 2018-06-25 | 1 | -6/+6 |
| | | | | llvm-svn: 335443 | ||||
* | Add a TaskQueue that can serialize work on a ThreadPool. | Zachary Turner | 2018-06-25 | 1 | -0/+105 |
We have ThreadPool, which can execute work asynchronously on N background threads, but sometimes you need to make sure the work is executed asynchronously but also serially. That is, if task B is enqueued after task A, then task B should not begin until task A has completed. This patch adds such a class. Differential Revision: https://reviews.llvm.org/D48240 llvm-svn: 335440 |