diff options
| author | Liam <byteslice@airmail.cc> | 2022-12-06 16:13:42 -0500 |
|---|---|---|
| committer | Liam <byteslice@airmail.cc> | 2022-12-06 16:13:42 -0500 |
| commit | 08d81c9726eeec0f1338bc19299d7b6c24dcadce (patch) | |
| tree | ffc2dd5818b94e61e09eed5388cb821c90dc0896 /src/core/cpu_manager.h | |
| parent | 7ca1fcfcce655ef556f3e0e95f58820df8a5b4b5 (diff) | |
general: improve handling of system startup failure
Diffstat (limited to 'src/core/cpu_manager.h')
| -rw-r--r-- | src/core/cpu_manager.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/cpu_manager.h b/src/core/cpu_manager.h index 3743674683..0deea9c581 100644 --- a/src/core/cpu_manager.h +++ b/src/core/cpu_manager.h @@ -81,12 +81,10 @@ private: void SingleCoreRunGuestThread(); void SingleCoreRunIdleThread(); - static void ThreadStart(std::stop_token stop_token, CpuManager& cpu_manager, std::size_t core); - void GuestActivate(); void HandleInterrupt(); void ShutdownThread(); - void RunThread(std::size_t core); + void RunThread(std::stop_token stop_token, std::size_t core); struct CoreData { std::shared_ptr<Common::Fiber> host_context; |
