mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-21 14:30:09 +02:00
2026-09-21 02:07:30
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
4bb5ab4d83
commit
08585f03de
11 changed files with 166 additions and 48 deletions
|
|
@ -80,7 +80,10 @@ struct KernelCore::Impl {
|
|||
// so it will be statically given a TLS slot anyways.
|
||||
static inline thread_local ThreadLocalData tls_data = {};
|
||||
|
||||
explicit Impl(Core::System& system_, KernelCore& kernel_) : system{system_} {
|
||||
explicit Impl(Core::System& system_, KernelCore& kernel_)
|
||||
: worker_task_manager{kernel_}
|
||||
, system{system_}
|
||||
{
|
||||
tls_data.lock = true;
|
||||
}
|
||||
|
||||
|
|
@ -1257,7 +1260,6 @@ void KernelCore::ShutdownCores() {
|
|||
for (auto& sm : impl->server_managers) {
|
||||
sm->NotifyShutdown();
|
||||
}
|
||||
|
||||
impl->TerminateAllProcesses();
|
||||
KScopedSchedulerLock lk{*this};
|
||||
for (auto* thread : impl->shutdown_threads)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue