Skip to content

The problem with integrating libuv into another event loop. #3101

@libuvreporter

Description

@libuvreporter

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions