Create multilevel debug mode

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@139913 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Howard Hinnant
2011-09-16 17:29:17 +00:00
parent 7a563db09a
commit abe2628b43
5 changed files with 82 additions and 57 deletions

View File

@@ -7,7 +7,8 @@
//
//===----------------------------------------------------------------------===//
#define _LIBCPP_DEBUG2
#define _LIBCPP_DEBUG2 1
#include "__config"
#include "__debug"
#include "functional"
#include "algorithm"
@@ -35,11 +36,6 @@ namespace
{
typedef mutex mutex_type;
// struct mutex_type
// {
// void lock() {}
// void unlock() {};
// };
typedef lock_guard<mutex_type> WLock;
typedef lock_guard<mutex_type> RLock;