smol-rs / polling

Portable interface to epoll, kqueue, event ports, and wepoll
Apache License 2.0
534 stars 65 forks source link

Specify behavior when registered in multiple pollers #136

Closed notgull closed 1 year ago

notgull commented 1 year ago

This adds documentation to add() describing what happens when a source is registered in multiple pollers. A test is also added to ensure this behavior.

Closes #81

notgull commented 1 year ago

Huh, weird, apparently that doesn't work for Windows? Not sure if that is an AFD implementation detail or not. Oh well, it's easy enough to paper over.