ryujinx-mirror/Ryujinx.HLE/HOS/Services/Sockets/Bsd
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
..
Impl bsd: Fix eventfd broken logic (#3647) 2022-11-27 20:18:05 +00:00
Types bsd: implement SendMMsg and RecvMMsg (#3660) 2022-09-07 22:37:15 +02:00
BsdContext.cs misc: Make PID unsigned long instead of long (#3043) 2022-02-09 17:18:07 -03:00
IClient.cs bsd: Fix eventfd broken logic (#3647) 2022-11-27 20:18:05 +00:00
IFileDescriptor.cs bsd: Revamp API and make socket abstract (#2960) 2022-01-12 19:31:08 +01:00
ISocket.cs bsd: implement SendMMsg and RecvMMsg (#3660) 2022-09-07 22:37:15 +02:00
ServerInterface.cs Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00