From ashie at clear-code.com Tue Oct 20 05:05:09 2026 From: ashie at clear-code.com (Takuro Ashie) Date: Tue, 20 Oct 2026 12:05:09 +0900 Subject: [RFC] Windows notification-backed ev_stat Message-ID: Hi, I'm a maintainer of Fluentd: https://github.com/fluent/fluentd Fluentd uses libev through cool.io (https://github.com/socketry/cool.io/) as its core event loop. On Windows, ev_stat currently relies on periodic polling. I put together a prototype patch to add notification-based updates using ReadDirectoryChangesW. # My previous message with the patch attached was held because it exceeded # the 20KB size limit, so I'm resending this without the attachment. # In the meantime, the pull request for cool.io is available here: # https://github.com/socketry/cool.io/pull/109 The patch is still a prototype, but we've tried it with cool.io's Windows tests and Fluentd's Windows StatWatcher tests. I don't know whether this is something you would consider for libev, so I'd appreciate your thoughts. If it seems like a reasonable direction, I'm happy to refine the patch for libev. Regards, -- Takuro Ashie