HomePhabricator

[Support] Base RWMutex on std::shared_timed_mutex (C++14)

Authored by bkramer on Aug 15 2019, 9:55 AM.

Description

[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.

llvm-svn: 369018

Details

Committed
bkramerAug 15 2019, 9:55 AM
Parents
rG1c013ca1f28b: [LLVM][Alignment] Fix MSVC potential division by 0 warning (PR42911)
Branches
Unknown
Tags
Unknown