Kernel: Fix epoll deadlock
If epoll_wait and epoll_notify were called at the same time, there was a possible deadlock when epoll was confirming the event from the inode
This commit is contained in:
@@ -184,6 +184,7 @@ namespace Kernel
|
||||
BAN::WeakPtr<SharedFileData> m_shared_region;
|
||||
Mutex m_epoll_mutex;
|
||||
BAN::LinkedList<class Epoll*> m_epolls;
|
||||
friend class Epoll;
|
||||
friend class FileBackedRegion;
|
||||
friend class OpenFileDescriptorSet;
|
||||
friend class SharedFileData;
|
||||
|
||||
Reference in New Issue
Block a user