diff options
Diffstat (limited to 'include/lldb/Target/ExecutionContext.h')
| -rw-r--r-- | include/lldb/Target/ExecutionContext.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/lldb/Target/ExecutionContext.h b/include/lldb/Target/ExecutionContext.h index cdf55e3b744c..da585e4c9dad 100644 --- a/include/lldb/Target/ExecutionContext.h +++ b/include/lldb/Target/ExecutionContext.h @@ -12,11 +12,12 @@ // C Includes // C++ Includes +#include <mutex> + // Other libraries and framework includes // Project includes #include "lldb/lldb-private.h" #include "lldb/Target/StackID.h" -#include "lldb/Host/Mutex.h" namespace lldb_private { @@ -412,8 +413,8 @@ public: // These two variants take in a locker, and grab the target, lock the API mutex into locker, then // fill in the rest of the shared pointers. - ExecutionContext (const ExecutionContextRef &exe_ctx_ref, Mutex::Locker &locker); - ExecutionContext (const ExecutionContextRef *exe_ctx_ref, Mutex::Locker &locker); + ExecutionContext(const ExecutionContextRef &exe_ctx_ref, std::unique_lock<std::recursive_mutex> &locker); + ExecutionContext(const ExecutionContextRef *exe_ctx_ref, std::unique_lock<std::recursive_mutex> &locker); //------------------------------------------------------------------ // Create execution contexts from execution context scopes //------------------------------------------------------------------ |
