diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2022-06-12 04:29:12 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-12 09:29:12 +0200 |
| commit | b1bd6a50b5341f444ceb31bbb0fb64f685828d75 (patch) | |
| tree | 967a2a28cc8fb347db05450ddd702acc5b08283b /Ryujinx.HLE/HOS/Services/Sockets/Bsd/Impl/EventFileDescriptor.cs | |
| parent | 70895bdb04c51e92b4d84946c66c122f9d54a73f (diff) | |
Less invasive fix for EventFd blocking operations (#3394)
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Sockets/Bsd/Impl/EventFileDescriptor.cs')
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Sockets/Bsd/Impl/EventFileDescriptor.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/Services/Sockets/Bsd/Impl/EventFileDescriptor.cs b/Ryujinx.HLE/HOS/Services/Sockets/Bsd/Impl/EventFileDescriptor.cs index ea63e842..239e2434 100644 --- a/Ryujinx.HLE/HOS/Services/Sockets/Bsd/Impl/EventFileDescriptor.cs +++ b/Ryujinx.HLE/HOS/Services/Sockets/Bsd/Impl/EventFileDescriptor.cs @@ -18,6 +18,11 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd public EventFileDescriptor(ulong value, EventFdFlags flags) { + // FIXME: We should support blocking operations. + // Right now they can't be supported because it would cause the + // service to lock up as we only have one thread processing requests. + flags |= EventFdFlags.NonBlocking; + _value = value; _flags = flags; |
