early-access version 2636

This commit is contained in:
pineappleEA
2022-04-02 10:29:48 +02:00
parent f2c0175302
commit 0d49569ca5
18 changed files with 58 additions and 44 deletions

View File

@@ -91,11 +91,10 @@ namespace Service {
}
ServiceFrameworkBase::ServiceFrameworkBase(Core::System& system_, const char* service_name_,
bool create_service_thread_, u32 max_sessions_,
ServiceThreadType thread_type, u32 max_sessions_,
InvokerFn* handler_invoker_)
: SessionRequestHandler(system_.Kernel(), service_name_, create_service_thread_),
system{system_}, service_name{service_name_}, max_sessions{max_sessions_},
handler_invoker{handler_invoker_} {}
: SessionRequestHandler(system_.Kernel(), service_name_, thread_type), system{system_},
service_name{service_name_}, max_sessions{max_sessions_}, handler_invoker{handler_invoker_} {}
ServiceFrameworkBase::~ServiceFrameworkBase() {
// Wait for other threads to release access before destroying