[Mono-devel-list] PATCH: reworked async IO for Socket

Miguel de Icaza miguel at ximian.com
Tue Apr 12 10:54:34 EDT 2005


> They don't really have to be - there are plenty of
> examples of how to wrap them up to create a virtual layer
> that *is* portable.  You only need 'one of' these
> technologies on any given platform, and configure can
> take care of the rest.
> Given the effectiveness of P/Invoke and dynamic loading,
> the portability layer could be in C#.
> AIO I would ignore, *that* suffers from the IMO worse
> fate of portable APIs and generally half-baked
> implementations that are passable on a small number
> of disk devices and rubbish on large numbers of
> sockets.

Gonzalo has implemented the functionality using aio if it is available
or fall back to poll if not. 

We are probably going to move to other tasks at this point, so if
someone wants to pick up this task and add an epoll/kqueue or something
else, they are welcome to do so. 


More information about the Mono-devel-list mailing list