Overlapped IO was Re: [Mono-list] threads and Async Socket methods

Gonzalo Paniagua Javier gonzalo@ximian.com
Mon, 03 May 2004 15:51:45 +0200


El jue, 29-04-2004 a las 17:18, P Oscar Boykin escribió:
> On Thu, Apr 29, 2004 at 04:05:35PM +0200, Gonzalo Paniagua Javier wrote:
> > El mi?, 28-04-2004 a las 23:15, P Oscar Boykin escribi?:
> > > Does Mono support overlapped IO on the asynchronous socket calls.
> >
> > We do that in unix world usign aio_read/aio_write. It's in CVS since 2
> > days ago. Try it and see if it does what you want :).
> 
> Thanks for the reply!
> 
> Is aio_read/aio_write supported on 2.4?  I thought that was only a 2.6
> feature.

It's supported in 2.4. The difference is that if you have a 2.6 kernel,
libc don't have to setup a worker thread.

-Gonzalo