summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/sockets/bsd.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-12-12 01:44:27 +0100
committerbunnei <bunneidev@gmail.com>2020-12-29 01:33:48 +0100
commit87d6588cb5c3ba5de34c647abec65b0209484930 (patch)
tree86ddd76c86b17861264ccba7bf27e5619c36f19f /src/core/hle/service/sockets/bsd.h
parenthle: service: nvdrv: Revert #4981 to remove usage of SleepClientThread. (diff)
downloadyuzu-87d6588cb5c3ba5de34c647abec65b0209484930.tar
yuzu-87d6588cb5c3ba5de34c647abec65b0209484930.tar.gz
yuzu-87d6588cb5c3ba5de34c647abec65b0209484930.tar.bz2
yuzu-87d6588cb5c3ba5de34c647abec65b0209484930.tar.lz
yuzu-87d6588cb5c3ba5de34c647abec65b0209484930.tar.xz
yuzu-87d6588cb5c3ba5de34c647abec65b0209484930.tar.zst
yuzu-87d6588cb5c3ba5de34c647abec65b0209484930.zip
Diffstat (limited to 'src/core/hle/service/sockets/bsd.h')
-rw-r--r--src/core/hle/service/sockets/bsd.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/core/hle/service/sockets/bsd.h b/src/core/hle/service/sockets/bsd.h
index f14713fc4..6da0bfeb2 100644
--- a/src/core/hle/service/sockets/bsd.h
+++ b/src/core/hle/service/sockets/bsd.h
@@ -11,7 +11,6 @@
#include "common/common_types.h"
#include "core/hle/kernel/hle_ipc.h"
#include "core/hle/service/service.h"
-#include "core/hle/service/sockets/blocking_worker.h"
#include "core/hle/service/sockets/sockets.h"
namespace Core {
@@ -138,8 +137,7 @@ private:
void Close(Kernel::HLERequestContext& ctx);
template <typename Work>
- void ExecuteWork(Kernel::HLERequestContext& ctx, std::string_view sleep_reason,
- bool is_blocking, Work work);
+ void ExecuteWork(Kernel::HLERequestContext& ctx, Work work);
std::pair<s32, Errno> SocketImpl(Domain domain, Type type, Protocol protocol);
std::pair<s32, Errno> PollImpl(std::vector<u8>& write_buffer, std::vector<u8> read_buffer,
@@ -163,15 +161,10 @@ private:
s32 FindFreeFileDescriptorHandle() noexcept;
bool IsFileDescriptorValid(s32 fd) const noexcept;
- bool IsBlockingSocket(s32 fd) const noexcept;
void BuildErrnoResponse(Kernel::HLERequestContext& ctx, Errno bsd_errno) const noexcept;
std::array<std::optional<FileDescriptor>, MAX_FD> file_descriptors;
-
- BlockingWorkerPool<BSD, PollWork, AcceptWork, ConnectWork, RecvWork, RecvFromWork, SendWork,
- SendToWork>
- worker_pool;
};
class BSDCFG final : public ServiceFramework<BSDCFG> {