I find very limited information online about the behaviour of nested FDs.
Lets say EPOLL FD1 is shared between EPOLL FD2 and FD3. So what would happen if epoll FD1 get an event
- Is it going to raise an event to both FD2 and Fd3 if it is added without epoll_exclusive flag.
- After getting an event, do i need to do epoll_wait on FD1 to clear the event.
And what is the use case of nested epoll FD.