diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:50:09 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:50:09 +0000 |
commit | f3fbd1c0586ff6ec7895991e6c28f61a503c36a8 (patch) | |
tree | 48d008fd3df8c0e73271a4b18474e0aac6dbfe33 /include/lldb/DataFormatters/FormatCache.h | |
parent | 2fc5d2d1dfaf623ce4e24cd8590565902f8c557c (diff) |
Notes
Diffstat (limited to 'include/lldb/DataFormatters/FormatCache.h')
-rw-r--r-- | include/lldb/DataFormatters/FormatCache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/lldb/DataFormatters/FormatCache.h b/include/lldb/DataFormatters/FormatCache.h index 9f1e078f7199..645fbc7ddf10 100644 --- a/include/lldb/DataFormatters/FormatCache.h +++ b/include/lldb/DataFormatters/FormatCache.h @@ -13,12 +13,12 @@ // C Includes // C++ Includes #include <map> +#include <mutex> // Other libraries and framework includes // Project includes #include "lldb/lldb-public.h" #include "lldb/Core/ConstString.h" -#include "lldb/Host/Mutex.h" namespace lldb_private { class FormatCache @@ -82,8 +82,8 @@ private: }; typedef std::map<ConstString,Entry> CacheMap; CacheMap m_map; - Mutex m_mutex; - + std::recursive_mutex m_mutex; + uint64_t m_cache_hits; uint64_t m_cache_misses; |