polling icon indicating copy to clipboard operation
polling copied to clipboard

Use ProcessSocketNotifications on Windows?

Open Berrysoft opened this issue 1 year ago • 1 comments

ProcessSocketNotifications is a new Windows API after 21H1. It performs much like epoll and kqueue, and provides edge trigger.

I would like to implememt it, together with #141. I think it will almost be a total rewrite of current IOCP impl. Would you like this idea?

Ref: https://learn.microsoft.com/en-us/windows/win32/api/winsock2/nf-winsock2-processsocketnotifications

Berrysoft avatar Jun 09 '24 19:06 Berrysoft

I will accept a PR for this, since it looks like it can be implemented on top of the current impl. However since we still support Rust 1.63 and therefore Windows 7/10, we should keep around the old impl.

notgull avatar Jun 10 '24 01:06 notgull