[all-commits] [llvm/llvm-project] 39eebe: [clangd] Use a separate RunningTask flag instead o...

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Tue Mar 10 10:25:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 39eebe68b5990273a69ed527e827753e7d4dba75
      https://github.com/llvm/llvm-project/commit/39eebe68b5990273a69ed527e827753e7d4dba75
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2020-03-10 (Tue, 10 Mar 2020)

  Changed paths:
    M clang-tools-extra/clangd/TUScheduler.cpp
    M clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list