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

@@ -25,9 +25,9 @@
namespace Kernel {
SessionRequestHandler::SessionRequestHandler(KernelCore& kernel_, const char* service_name_,
bool create_service_thread_)
ServiceThreadType thread_type)
: kernel{kernel_} {
if (create_service_thread_) {
if (thread_type == ServiceThreadType::CreateNew) {
service_thread = kernel.CreateServiceThread(service_name_);
} else {
service_thread = kernel.GetDefaultServiceThread();