yuzu/src/core/hle/kernel/service_thread.h

28 lines
557 B
C
Raw Normal View History

2020-12-28 19:15:37 +04:00
// Copyright 2020 yuzu emulator team
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
#include <memory>
namespace Kernel {
class HLERequestContext;
class KernelCore;
class ServerSession;
class ServiceThread final {
public:
2020-12-29 13:13:52 +04:00
explicit ServiceThread(KernelCore& kernel, std::size_t num_threads);
2020-12-28 19:15:37 +04:00
~ServiceThread();
void QueueSyncRequest(ServerSession& session, std::shared_ptr<HLERequestContext>&& context);
private:
class Impl;
std::unique_ptr<Impl> impl;
};
} // namespace Kernel