[all-commits] [llvm/llvm-project] 519959: [scudo] Fix deadlock in ScudoWrappersCTest.Disable...

Evgenii Stepanov via All-commits all-commits at lists.llvm.org
Thu May 28 14:31:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 519959ad825bfad0b62a2012c064e582788d8f21
      https://github.com/llvm/llvm-project/commit/519959ad825bfad0b62a2012c064e582788d8f21
  Author: Evgenii Stepanov <eugenis at google.com>
  Date:   2020-05-28 (Thu, 28 May 2020)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cpp

  Log Message:
  -----------
  [scudo] Fix deadlock in ScudoWrappersCTest.DisableForkEnable test.

pthread_cond_wait needs a loop around it to handle spurious wake ups,
as well as the case when signal runs before wait.




More information about the All-commits mailing list