mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-19 10:38:58 +02:00
service/sockets: Add worker abstraction to execute blocking calls asynchronously
This abstraction allows executing blocking functions (like recvfrom on a socket configured for blocking) without blocking the service thread. It is intended to be used with SleepClientThread.
This commit is contained in:
parent
8a8f687fd2
commit
3cd68cade4
2 changed files with 133 additions and 0 deletions
|
|
@ -491,6 +491,7 @@ add_library(core STATIC
|
|||
hle/service/sm/controller.h
|
||||
hle/service/sm/sm.cpp
|
||||
hle/service/sm/sm.h
|
||||
hle/service/sockets/blocking_worker.h
|
||||
hle/service/sockets/bsd.cpp
|
||||
hle/service/sockets/bsd.h
|
||||
hle/service/sockets/ethc.cpp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue