[fpc-pascal] Darwin i386 socket polling

Henry Vermaak henry.vermaak at gmail.com
Fri Dec 23 19:23:19 CET 2011


On 23 December 2011 15:27, Andrew Brunner <andrew.t.brunner at gmail.com> wrote:
>> Windows supports epoll?
>
> No, windows doesn't offer polling socket mechanisms.  They send
> messages to windows with the socket number - it's event driven.
> Kernel polling is different, but I assumed that Darwin would support
> it via e-Poll.  I searched and found a few references to
> kQueue/kEvent.

Afaik, Windows has select(), but I/O Completion Ports is the thing to
use for scalable event notification.

Henry



More information about the fpc-pascal mailing list