mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-24 09:38:00 -05:00
General: Recover Prometheus project from harddrive failure
This commit: Implements CPU Interrupts, Replaces Cycle Timing for Host Timing, Reworks the Kernel's Scheduler, Introduce Idle State and Suspended State, Recreates the bootmanager, Initializes Multicore system.
This commit is contained in:
@ -59,6 +59,11 @@ public:
|
||||
this->running = running;
|
||||
lock.unlock();
|
||||
running_cv.notify_all();
|
||||
if (!running) {
|
||||
running_wait.Set();
|
||||
/// Wait until effectively paused
|
||||
while (running_guard);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@ -84,6 +89,8 @@ private:
|
||||
std::atomic_bool stop_run{false};
|
||||
std::mutex running_mutex;
|
||||
std::condition_variable running_cv;
|
||||
Common::Event running_wait{};
|
||||
std::atomic_bool running_guard{false};
|
||||
|
||||
signals:
|
||||
/**
|
||||
|
Reference in New Issue
Block a user