Skip to content

Support disjoint polls on separate threads #227

@kskalski

Description

@kskalski

Main page states "Only one thread can be waiting for I/O events at a time.", but it's not clear what is the scope of this limitation.

Does it mean:

  • sharing the same Poller object across threads and waiting in both is not supported
  • using two different Poller objects and waiting on them in different threads
    • on the same fd won't work
    • on different unique fd in each of the pollers / threads also won't work?

My use-case it the last one, which seems to be a bit weird not to be supported unless the library uses a process-wide shared lock for some reason.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions