[all-commits] [llvm/llvm-project] c74678: [clangd] Fix data race in BackgroundIndex test

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Sat May 9 09:19:32 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c746781f5085a965cfc64bd8ddf904217b797ab8
      https://github.com/llvm/llvm-project/commit/c746781f5085a965cfc64bd8ddf904217b797ab8
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2020-05-09 (Sat, 09 May 2020)

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

  Log Message:
  -----------
  [clangd] Fix data race in BackgroundIndex test

MockFSProvider is not thread-safe. Make sure we don't modify it while
background index is working.




More information about the All-commits mailing list