]> granicus.if.org Git - llvm/commit
[Support] Base RWMutex on std::shared_timed_mutex (C++14)
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 15 Aug 2019 16:55:23 +0000 (16:55 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 15 Aug 2019 16:55:23 +0000 (16:55 +0000)
commitb8ce57c5a8c56c7d0bba4192920d99fad5a07686
tree4fa8c9786eeaf4fce5f38ea9a32a9d04269db850
parent87f08b7e5c0ec3ae0c3a8c2838cfa391405d1ac7
[Support] Base RWMutex on std::shared_timed_mutex (C++14)

This should have the same semantics. We use std::shared_mutex instead on
MSVC and C++17, std::shared_timed_mutex is less efficient than our
custom implementation on Windows, std::shared_mutex should be faster.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369018 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/RWMutex.h
lib/Support/CMakeLists.txt
lib/Support/RWMutex.cpp [deleted file]
lib/Support/Unix/RWMutex.inc [deleted file]
lib/Support/Windows/RWMutex.inc [deleted file]