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 | 9704acb982eb3dfb4b2b6a090f5613d4ac57b196 (patch) | |
tree | ffc2dd5818b94e61e09eed5388cb821c90dc0896 /src/core/cpu_manager.h | |
parent | 08d4e7c7aff6b4b798b9095c5715368918cdba0b (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 374367468..0deea9c58 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; |