1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-23 23:36:02 +00:00
Ryujinx/Ryujinx.HLE/HOS/Services/Sockets/Bsd/Impl
Mary-nyan 1865ea87e5
bsd: Fix eventfd broken logic (#3647)
* bsd: Fix eventfd broken logic

This commit fix eventfd logic being broken.

The following changes were made:
- EventFd IPC definition had argument inverted
- EventFd events weren't fired correctly
- Poll logic was wrong and unfinished for eventfd
- Reintroduce workaround from #3385 but in a safer way, and spawn 4
  threads.

* ipc: Rework a bit for multithreads

* Clean up debug logs

* Make server thread yield when managed lock isn't availaible

* Fix replyTargetHandle not being added in the proper locking scope

* Simplify some scopes

* Address gdkchan's comments

* Revert IPC workaround for now

* Reintroduce the EventFileDescriptor workaround
2022-11-27 20:18:05 +00:00
..
EventFileDescriptor.cs bsd: Fix eventfd broken logic (#3647) 2022-11-27 20:18:05 +00:00
EventFileDescriptorPollManager.cs bsd: Fix eventfd broken logic (#3647) 2022-11-27 20:18:05 +00:00
ManagedSocket.cs bsd: Check if socket is bound before calling RecvFrom() (#3761) 2022-10-15 20:52:49 +00:00
ManagedSocketPollManager.cs bsd: improve socket poll 2022-09-07 22:58:41 +02:00
WinSockHelper.cs
WSAError.cs