DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 62L0qtbU983921 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 62L0qtbU983921 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=ZzzL1NJf X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 714F94C3189A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1774054374; bh=lXxU5Vxfp+bko2VJ1HuWugEWy/yfMYL4ZBSclmc0nzI=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=ZzzL1NJflNjjFO/QzyVrXy3tx6JxDmyAVjf+10knivC7pmY53YhQiElQO2xFsdcWM vvtRRFtNiQXqqGeAwVPfLYX3W+L5FcQNdwuMbxi3Q/RsXJuQoLicmTENFdOpwxPWj5 0x46IgjmFBE3HbtId7V+F5tC2s9cCHf2p3Neg8B0= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 29E6B4B19712 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 29E6B4B19712 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1774054356; cv=pass; b=fF+jfRpeBcjy4nkXhDJUKBL/7gjwZoRML+wMOVjbg7ZNjsiqRr03A91CQjvICBz7mS3QyatHx2Vq8xUq6fJFxinmSsWMfi/NwjH4kgTHjV2BKiMnby1RFoS/wiUWExl0d9+oSn8gaplZ8wYjaNw50OtdHbD1X1zggHrL8+iWuug= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1774054356; c=relaxed/simple; bh=tjHei/cqlKp+GvtHXW9zUq8kNxJw64FtJhWyGvovELE=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=PdnXRH/ZeMRYrkuRMqLXBqOwZQxfJ+naDvICwRSwSILakBJrwfxlrd/BkdjNO++Yhd3gGMxvOYtoOkikOXDs2Ec8YwoxTTOf+52sFik7nDsLs0KRGuR4pJg68ArG9yuUp2Js0GhKWPGo/Vpt/M/DX6oVzdA6aFTiQkpId4AeLHc= ARC-Authentication-Results: i=2; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 29E6B4B19712 ARC-Seal: i=1; a=rsa-sha256; t=1774054355; cv=none; d=google.com; s=arc-20240605; b=I/Xhg4pDe1NrGOBOm3hRkn4gNhI9X7lVbFaakC5Aho0MLwPAlnm3e7uWtZXgHsimOu N6X0Aa9lVjNCTW0z7FfboBEWjetRhqvg6ZA37EGpwo4ZKYPRZAPM3OiSBvpPJ1BwfxNX W42eT7P1tLWnE0+sSvdTz0LPWrz64Whd78+qcIYEVi2ApZmH7Cy7IF/gGqM61Ka8yW2c +6eF8Gn2S3DwweB7n2Kw+OXcTtx3hIz8w40n32qbsUhHuU5HCUJsI8bnusYLHXtmb9q+ VMl3vHVNS37tOk58EvIhFNWJfRB5XuggNnrZTLETIBTbMwaAflt/fXGD05/JKHmWkoNJ DHBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=dNWRsl9/r9KEDAn2QRYLWbzltEaKDIMZoNl4wHCIs2Q=; fh=UKNFaOBO97U3RYl3PEse//nArTqr7SLJjCCEBz281Ew=; b=WlNoE3UWo5rJG9+XmYaUlh4+YyckAqZfb+Vue00OCwa3CLwSgtXA/OvAI/LJCLttvq joXEurFlUDtslRqN/LPur7eXep8/xG4vnmhnvWJDDm80JIC8n15LJ7Ivr7FZcE0xx15/ B3R+kI49cP6dpIOf/rof/hbqg66+rwe7Dfo7XYlH7Tm+7vl0TvtgOWaCCYqIXoVN11zJ 5JSkLfVtp+Vxa/rWA8VyWXDLECrDu8vewDa0wGdzfMGeqW2gzZTdxtAmXF9K29j5tmS6 dT1SoRuSCiydeKIqSepTru/4ncksihCoSYtuBwBX5n10V6B3lxbnvm7FCOrZnLe2x6IA 4V3g==; darn=cygwin.com ARC-Authentication-Results: i=1; mx.google.com; arc=none X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774054355; x=1774659155; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=dNWRsl9/r9KEDAn2QRYLWbzltEaKDIMZoNl4wHCIs2Q=; b=SjUGm4wD6JkDuktT98nSf22xJ7M0fCQDrHhX9EexDF2X0B1PIx37ytr7Ay6DI946ey dA5qol8uphCgo8lyzKK9VRISJADY1N6E8AYGesfOl5M9wN3r+ub5arFsLaXytkI3BlvF bvDC78QJ6IE3Kw9kVuMYroNUR5qGok2wl9zgxpmgMri+uLP8fF9f09DHWZnNJaIAc6NY LOwaL9bFd9ljAJS+4HLoQ0IsbUfoteVnGQfgpNT5wuu8FTBERh9+DVoJNqgr7Bl2pveX l8ikiPH8zw1UB/8uWsdj6TscmnaZWZaxzNOlnbPiOp4wn6aVTRwcLjzxewF7VDfqnWPj eKeQ== X-Gm-Message-State: AOJu0YwCPD/LbCDTk3u4mEp43kzfLtgX4UjVspQoYWA5EHAgwP1+PGoE Z+HVVezQanfyX1K3K/kkNsHT/zgxkxsCZ4bAFgifAaWjCdiDp0jSKcHyxiAfxpeTOWBqTtHSOAI XpZc4Q9WR5oV1AqkFfkkGPtXWSqQgM24WSBHxET8= X-Gm-Gg: ATEYQzziEt0SW7/TwDtYel/S3y/hxtySaGPYwUgSjJgrFcdfqYauVcUtOgwir8Y1Pls uS9qh/KE/l/kCASOJ1prAhNXpMeZ2TM2Ez5+7PZbvGxAlvV01nqOQDq0F5NQr9Vhh4Ozpq9d7j9 4uu2f8CJEFSHRM2S9ssP62KiXdFyKl0KeZ+0RJeS3Hqf9809Fx2a5lPoVL2K3eMbVuXXVO3UTSg QK2mco85vT7MoEcNMr2zSPxZRrB/CUDA/CHhMs1r5O6iI0CxVOy37GM00gXVkQXDKjOvQ/d3sRp B4rqKmXi3sKmM49RuQ== X-Received: by 2002:a05:6808:221f:b0:466:f5d1:6fb1 with SMTP id 5614622812f47-467e5d2a924mr2405312b6e.2.1774054354994; Fri, 20 Mar 2026 17:52:34 -0700 (PDT) MIME-Version: 1.0 References: <8d05ff34-1f75-42c1-b72a-621163a68cbf AT hamishmb DOT com> In-Reply-To: <8d05ff34-1f75-42c1-b72a-621163a68cbf@hamishmb.com> Date: Sat, 21 Mar 2026 09:51:58 +0900 X-Gm-Features: AaiRm50ezgdUUf_bBAKjLbQY7HcvqHW9SBBzpEkrYSsf8BPdDTydlRL_Sc0PgH0 Message-ID: Subject: Re: epoll implementation for Cygwin To: cygwin AT cygwin DOT com X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Daisuke Fujimura via Cygwin Reply-To: Daisuke Fujimura Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 62L0qtbU983921 Hi Hamish and all, As the author of cygepoll, I’d like to provide some context regarding its implementation. Currently, cygepoll is an experimental wrapper around upoll (https://github.com/richardhundt/upoll). In the Cygwin environment, it simply maps the epoll interface onto poll or select. Because it relies on these underlying mechanisms, it doesn't offer the performance benefits typically associated with epoll on Linux. It essentially carries the same overhead as poll or select. If the goal is to provide a truly performant epoll implementation for Cygwin, I believe it should be implemented natively within cygwin1.dll—perhaps by leveraging Windows-specific APIs. Providing cygepoll as a standalone package might offer API compatibility, but it wouldn't meet the performance expectations users have for epoll. Therefore, I think discussing a native implementation within the Cygwin core is a more meaningful path than packaging my current experimental library. Best regards, Daisuke Fujimura On Sat, Mar 21, 2026 at 6:03 AM Hamish McIntyre-Bhatty via Cygwin wrote: > > Hi all, > > I recently stumbled across this epoll implementation for Cygwin: > https://github.com/fd00/cygepoll > > I'm not sure how to test it, or even if it would still work, as it is > very old, but I know that wxWidgets at least could benefit from > something like this. Is there any chance we could integrate it into > Cygwin as a package? > > Best, > > Hamish > > > -- > Problem reports: https://cygwin.com/problems.html > FAQ: https://cygwin.com/faq/ > Documentation: https://cygwin.com/docs.html > Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple