[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] [libevent-usr] When is a [regular file descriptor] readable or writable?



On Wed, Aug 3, 2011 at 11:39, zhihua che <zhihua.che@xxxxxxxxx> wrote:
> Imagine I was monitoring a local regular file descriptor. I can't figure out what actions or
> conditions can cause the descriptor readable or writable.

You probably want to look at AIO: man 3 aio_read
Beware, this interface may have unexpectedly poor performance
depending on settings, kernel, OS version, etc.

--
WBRBW, Leonid Evdokimov
xmpp:leon@xxxxxxxxxxxx && http://darkk.net.ru
tel:+79816800702 && tel:+79050965222
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.