Browse Source

hle: service: bsd: Create a service thread where appropriate.

bunnei 4 năm trước cách đây
mục cha
commit
99770653bb
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/core/hle/service/sockets/bsd.cpp

+ 2 - 1
src/core/hle/service/sockets/bsd.cpp

@@ -837,7 +837,8 @@ void BSD::BuildErrnoResponse(Kernel::HLERequestContext& ctx, Errno bsd_errno) co
     rb.PushEnum(bsd_errno);
 }
 
-BSD::BSD(Core::System& system_, const char* name) : ServiceFramework{system_, name} {
+BSD::BSD(Core::System& system_, const char* name)
+    : ServiceFramework{system_, name, ServiceThreadType::CreateNew} {
     // clang-format off
     static const FunctionInfo functions[] = {
         {0, &BSD::RegisterClient, "RegisterClient"},