On 11/28/05, christopher baus <[EMAIL PROTECTED]> wrote:
> Linux doesn't support non-blocking I/O on files.  If you don't require
> high throughput to disk your best bet is to use worker threads.  This is
> basically how squid handle's its disk cache.

That main problem here is that most of "new" event notification were
not written to provide a transparent interface, i.e. a file descriptor
is not a file descriptor.  You need to know from where you acquired it
which is sometimes quite difficult to do.

For epoll, somebody should ask Davide to at least make it always
return readable/writeable for disk file descriptors.

Niels.

_______________________________________________
Libevent-users mailing list
[email protected]
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to