HomePhabricator

Clean up vestigial remnants of locking primitives

Description

Clean up vestigial remnants of locking primitives

This finally removes the use of the Mutex and Condition classes. This is an
intricate patch as the Mutex and Condition classes were tied together.
Furthermore, many places had slightly differing uses of time values. Convert
timeout values to relative everywhere to permit the use of
std::chrono::duration, which is required for the use of
std::condition_variable's timeout. Adjust all Condition and related Mutex
classes over to std::{,recursive_}mutex and std::condition_variable.

This change primarily comes at the cost of breaking the TracingMutex which was
based around the Mutex class. It would be possible to write a wrapper to
provide similar functionality, but that is beyond the scope of this change.

Details

Committed
compnerdJul 28 2016, 10:32 AM
Parents
rL277010: cmake: Bitcode tests need mainline clang >= 3.9
Branches
Unknown
Tags
Unknown