How to implement epoll (Linux) o kqueue (BSD/macOS) in the Cygwin DLL
Jon Turney
jon.turney@dronecode.org.uk
Thu Sep 17 18:15:03 GMT 2026
On 17/09/2026 17:39, Marco Atzeri wrote:
> On 17/09/2026 13:57, Noel Grandin wrote:
>>
>>
>> On 9/17/2026 12:03 PM, Marco Atzeri wrote:
>>> (Linux), kqueue (BSD/macOS), and IOCP (native Windows), which don't
>>> have these issues. Unfortunately, Cygwin doesn't
>> This line doesn't really make sense - since cygwin only runs on
>> Windows, of course there is IOCP support available.
>>
>> Probably what they mean is that they do not feel like supporting IOCP
>> under cygwin,
>> since that will likely require some weird converting backwards and
>> forwards between Windows-level handles
>> and cygwin-level handles.
>>
>> Regards, Noel Grandin
>
> I doubt a python library should implement such thing.
>
> Emulating epoll at cygwin DLL level makes more sense to me,
> but I am not an expert of the matter.
Yes, an epoll() implementation in cygwin would be the right approach
(since things other than python could benefit from it).
(It's also a prerequisite for something else I was looking at a while
ago, uh, libwayland, I think.)
SHTDI, unfortunately.
More information about the Cygwin-developers
mailing list