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.
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:
Pollerobject across threads and waiting in both is not supportedPollerobjects and waiting on them in different threadsMy 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.