1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-09-23 07:23:59 +01:00
Ryujinx/Ryujinx.HLE/HOS/Services
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
..
Account infra: Migrate to .NET 7 (#3795) 2022-11-09 20:22:43 +01:00
Am am: Stub GetSaveDataSizeMax (#3857) 2022-11-18 03:29:01 +00:00
Apm
Arp hle: Some cleanup (#3210) 2022-03-22 20:46:16 +01:00
Audio Allocate work buffer for audio renderer instead of using guest supplied memory (#3276) 2022-09-10 01:16:24 +00:00
Bcat Fix memory corruption in BCAT and FS Read methods when buffer is larger than needed (#3739) 2022-10-04 20:12:54 -03:00
Bgtc
Bluetooth
BluetoothManager
Caps
Cec
Ectx
Erpt
Es
Eupld
Fatal fatal: Implement Service (#3573) 2022-10-02 10:30:46 +02:00
Friend Reduce usage of Marshal.PtrToStructure and Marshal.StructureToPtr (#3805) 2022-11-24 15:26:29 +01:00
Fs Update to LibHac 0.17.0 (#3878) 2022-11-23 18:32:35 +01:00
Grc
Hid hid/irs: Stub StopImageProcessorAsync (#3799) 2022-10-27 21:36:37 +00:00
Ins Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Lbl
Ldn Initial support for the new 12.x IPC system (#2182) 2021-04-14 00:01:24 +02:00
Lm
Loader
Mig
Mii infra: Migrate to .NET 7 (#3795) 2022-11-09 20:22:43 +01:00
Mm
Mnpp
Ncm hle: Some cleanup (#3210) 2022-03-22 20:46:16 +01:00
News
Nfc Use new C# 11 u8 string literals (#3854) 2022-11-16 16:30:12 -03:00
Ngct Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
Nifm Use new C# 11 u8 string literals (#3854) 2022-11-16 16:30:12 -03:00
Nim hle: Some cleanup (#3210) 2022-03-22 20:46:16 +01:00
Notification
Npns
Ns
Nv Update units of memory from decimal to binary prefixes (#3716) 2022-11-16 23:27:42 +01:00
Olsc oslc: Fix condition in GetSaveDataBackupSetting (#3208) 2022-03-20 13:25:29 -03:00
Ovln
Pcie
Pctl pctl: Implement EndFreeCommunication 2022-08-25 23:18:37 +02:00
Pcv
Pm Implement PM GetProcessInfo atmosphere extension (partially) (#2966) 2022-05-03 23:28:32 +02:00
Prepo Make use of Random.Shared (#3852) 2022-11-16 15:34:18 -03:00
Psc Refactoring HOS folder structure (#771) 2019-09-19 10:45:11 +10:00
Ptm HLE: fix small issue in IPsmSession (#3909) 2022-11-27 01:10:42 +00:00
Ro Make use of Random.Shared (#3852) 2022-11-16 15:34:18 -03:00
Sdb Reduce usage of Marshal.PtrToStructure and Marshal.StructureToPtr (#3805) 2022-11-24 15:26:29 +01:00
Settings infra: Migrate to .NET 7 (#3795) 2022-11-09 20:22:43 +01:00
Sm Enable JIT service LLE (#2959) 2022-05-05 15:23:30 -03:00
Sockets bsd: Fix eventfd broken logic (#3647) 2022-11-27 20:18:05 +00:00
Spl Update units of memory from decimal to binary prefixes (#3716) 2022-11-16 23:27:42 +01:00
Srepo
Ssl infra: Migrate to .NET 7 (#3795) 2022-11-09 20:22:43 +01:00
SurfaceFlinger Allow Surface Flinger frame enqueue after process has exited (#3733) 2022-10-02 21:50:03 +00:00
Time Reduce usage of Marshal.PtrToStructure and Marshal.StructureToPtr (#3805) 2022-11-24 15:26:29 +01:00
Usb
Vi Rename ToSpan to AsSpan (#3556) 2022-08-11 18:07:37 -03:00
Wlan
CommandHIpcAttribute.cs
CommandTIpcAttribute.cs
DisposableIpcService.cs Add dedicated ServerBase for FileSystem services (#3142) 2022-02-19 15:29:11 +01:00
DummyService.cs
IpcService.cs
ServerBase.cs Removed unused usings. (#3593) 2022-08-18 18:04:54 +02:00
ServiceAttributes.cs