1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-13 19:36:38 +00:00
Ryujinx/Ryujinx.HLE/HOS
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
..
Applets Reduce usage of Marshal.PtrToStructure and Marshal.StructureToPtr (#3805) 2022-11-24 15:26:29 +01:00
Diagnostics/Demangler Avoid allocations in .Parse methods (#3760) 2022-10-18 23:31:34 +00:00
Ipc misc: Make PID unsigned long instead of long (#3043) 2022-02-09 17:18:07 -03:00
Kernel Update units of memory from decimal to binary prefixes (#3716) 2022-11-16 23:27:42 +01:00
Services bsd: Fix eventfd broken logic (#3647) 2022-11-27 20:18:05 +00:00
SystemState Use Enum and Delegate.CreateDelegate generic overloads (#3111) 2022-02-13 10:50:07 -03:00
Tamper Avoid allocations in .Parse methods (#3760) 2022-10-18 23:31:34 +00:00
ApplicationLoader.cs Update to LibHac 0.17.0 (#3878) 2022-11-23 18:32:35 +01:00
ArmProcessContext.cs Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00
ArmProcessContextFactory.cs Refactor CPU interface to allow the implementation of other CPU emulators (#3362) 2022-05-31 16:29:35 -03:00
HomebrewRomFsStream.cs
Horizon.cs ui: Fixes disposing on GTK/Avalonia and Firmware Messages on Avalonia (#3885) 2022-11-24 15:08:27 +01:00
IdDictionary.cs
LibHacHorizonManager.cs Update to LibHac 0.17.0 (#3878) 2022-11-23 18:32:35 +01:00
ModLoader.cs Remove save data creation prompt (#3252) 2022-04-08 11:09:35 +02:00
ProgramLoader.cs Rewrite kernel memory allocator (#3316) 2022-06-22 12:28:14 -03:00
ResultCode.cs
ServiceCtx.cs hos: Cleanup the project (#2634) 2021-09-15 01:24:49 +02:00
TamperMachine.cs Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
UserChannelPersistence.cs Fix exiting emulator with multi programs (#1590) 2020-10-10 00:52:11 +02:00