Replacing alloy::Mutex with std::mutex.

This commit is contained in:
Ben Vanik
2014-07-09 22:28:51 -07:00
parent 500647968c
commit c5f114018e
23 changed files with 170 additions and 371 deletions

View File

@@ -10,6 +10,9 @@
#ifndef ALLOY_RUNTIME_FUNCTION_H_
#define ALLOY_RUNTIME_FUNCTION_H_
#include <mutex>
#include <vector>
#include <alloy/core.h>
#include <alloy/runtime/debug_info.h>
@@ -46,12 +49,12 @@ protected:
uint64_t return_address) = 0;
protected:
uint64_t address_;
uint64_t address_;
FunctionInfo* symbol_info_;
DebugInfo* debug_info_;
DebugInfo* debug_info_;
// TODO(benvanik): move elsewhere? DebugData?
Mutex* lock_;
std::mutex lock_;
std::vector<Breakpoint*> breakpoints_;
};