Hello. I am trying to integrate an event loop lib with another event loop. And I found out some issue.
The file descriptor returned by function uv_backend_fd() is not suitable for polling. The reason for this is that some callback can add or remove event monitoring on some file descriptor, for example, using function uv_poll_start(). However, the real modification of epoll in libuv library occurs only in uv_run() function.
Maybe I misunderstand something?
- Version: commit 9c3d692
- Platform: Linux 5.4.0-62-generic Ubuntu SMP x86_64
Hello. I am trying to integrate an event loop lib with another event loop. And I found out some issue.
The file descriptor returned by function uv_backend_fd() is not suitable for polling. The reason for this is that some callback can add or remove event monitoring on some file descriptor, for example, using function uv_poll_start(). However, the real modification of epoll in libuv library occurs only in uv_run() function.
Maybe I misunderstand something?