commit | b849a4dd4bee9ad17e295691087ce09e8d77d685 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Thu Jun 18 17:53:17 2009 +0000 |
committer | Owen Anderson <resistor@mac.com> | Thu Jun 18 17:53:17 2009 +0000 |
tree | d8db21f0b4ae2c14aefdc587b06368c5278620bd | |
parent | e53118ea32370b5c57c61ae5e8125883acfb641b [diff] |
Insert a SmartMutex templated class into the class hierarchy, which takes a template parameter specifying whether this mutex should become a no-op when not running in multithreaded mode. Make sys::Mutex a typedef of SmartMutex<false>, to preserve source compatibility. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73709 91177308-0d34-0410-b5e6-96231b3b80d8