summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2021-10-16 00:20:19 +0200
committerFernando Sahmkow <fsahmkow27@gmail.com>2021-10-16 00:23:27 +0200
commit53cf91d151d1e3d289917b63cf17ca254674f1ce (patch)
treeb98a87d68243e1f9358c10a8870dd296c0aa5eb1 /src/core/core.h
parent198c6ad0d728447dc97e467c8fb08f0b54c8a742 (diff)
NvHost/Core: Address Feedback.
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/core.h b/src/core/core.h
index 8b21816cc..1cfe1bba6 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -7,6 +7,7 @@
#include <cstddef>
#include <functional>
#include <memory>
+#include <mutex>
#include <string>
#include <vector>
@@ -160,7 +161,8 @@ public:
/// Shutdown the emulated system.
void Shutdown();
- void stallForGPU(bool pause);
+ std::unique_lock<std::mutex> StallCPU();
+ void UnstallCPU();
/**
* Load an executable application.