diff options
author | Kadir Cetinkaya <kadircet@google.com> | 2020-03-10 16:52:31 +0100 |
---|---|---|
committer | Kadir Cetinkaya <kadircet@google.com> | 2020-03-10 18:25:35 +0100 |
commit | 39eebe68b5990273a69ed527e827753e7d4dba75 (patch) | |
tree | 80229bc2c342c90c27128ab37faaf6aeca928dc5 /clang/lib/Serialization/ModuleManager.cpp | |
parent | 43606efb6847fc9c79e7d93760a2a6191e8a8539 (diff) | |
download | llvm-39eebe68b5990273a69ed527e827753e7d4dba75.zip llvm-39eebe68b5990273a69ed527e827753e7d4dba75.tar.gz llvm-39eebe68b5990273a69ed527e827753e7d4dba75.tar.bz2 |
[clangd] Use a separate RunningTask flag instead of leaving a broken request on top of the queue
Summary:
This helps us prevent races when scheduler (or any other thread) tries
to read a request while it's still running.
Reviewers: sammccall
Subscribers: ilya-biryukov, javed.absar, MaskRay, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D75927
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions