Less invasive fix for EventFd blocking operations (#3394)
This commit is contained in:
parent
70895bdb04
commit
b1bd6a50b5
3 changed files with 7 additions and 26 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue