forked from eden-emu/eden
kernel: invert session request handling flow
This commit is contained in:
parent
7f0d0dd177
commit
983f2b7074
22 changed files with 424 additions and 282 deletions
|
@ -11,13 +11,15 @@ namespace Kernel {
|
|||
class HLERequestContext;
|
||||
class KernelCore;
|
||||
class KSession;
|
||||
class SessionRequestManager;
|
||||
|
||||
class ServiceThread final {
|
||||
public:
|
||||
explicit ServiceThread(KernelCore& kernel, std::size_t num_threads, const std::string& name);
|
||||
explicit ServiceThread(KernelCore& kernel, const std::string& name);
|
||||
~ServiceThread();
|
||||
|
||||
void QueueSyncRequest(KSession& session, std::shared_ptr<HLERequestContext>&& context);
|
||||
void RegisterServerSession(KServerSession* session,
|
||||
std::shared_ptr<SessionRequestManager> manager);
|
||||
|
||||
private:
|
||||
class Impl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue