Assume the original file is created before release in LockFileManager
authorBen Langmuir <blangmuir@apple.com>
Thu, 19 Feb 2015 18:22:35 +0000 (18:22 +0000)
committerBen Langmuir <blangmuir@apple.com>
Thu, 19 Feb 2015 18:22:35 +0000 (18:22 +0000)
commit7b5766d2f62ccf40de9dd385216d7ba39dcebc0d
tree6b0fdf13cf4a32ed373e6a2d6945f91cfdeb5a10
parent0b1ec08b7782983e914519c32fa82801e541a19a
Assume the original file is created before release in LockFileManager

This is true in clang, and let's us remove the problematic code that
waits around for the original file and then times out if it doesn't get
created in short order.  This caused any 'dead' lock file or legitimate
time out to cause a cascade of timeouts in any processes waiting on the
same lock (even if they only just showed up).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229881 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/LockFileManager.cpp