diff options
| author | Zachary Turner <zturner@google.com> | 2018-06-25 03:13:09 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2018-06-25 03:13:09 +0000 |
| commit | 35169f66988223c2b44e211fe10e21c6ac3e7ddc (patch) | |
| tree | 1e3fad7d006b994974f86e2de27e731c9290e386 /llvm/unittests/Support/Chrono.cpp | |
| parent | 04c48949116d2e3407f76856476c00417abdb076 (diff) | |
| download | bcm5719-llvm-35169f66988223c2b44e211fe10e21c6ac3e7ddc.tar.gz bcm5719-llvm-35169f66988223c2b44e211fe10e21c6ac3e7ddc.zip | |
Add a TaskQueue that can serialize work on a ThreadPool.
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
Diffstat (limited to 'llvm/unittests/Support/Chrono.cpp')
0 files changed, 0 insertions, 0 deletions

