Thank you,  Its very interesting , because I'm using 2.6.5 kernel which does supports epoll , but every time I tried call a epoll_ctl with an ADD operation on the regular file , I get back a NOPERM errro back, so I was wondering if anybody succeeded before ( google not in much help :()

Alex Stapleton <[EMAIL PROTECTED]> wrote:

On 28 Nov 2005, at 12:21, Richard Nyberg wrote:

> At Mon, 28 Nov 2005 01:12:16 -0800 (PST),
> aleks sheynkman wrote:
>> Hi, all!
>> Does any know if I can use a libevent to manage regular file
>> desriptors (not a fifo).
>
> No. You can always read or write to regular files, so it doesn't
> really

Er not true really, but anyway; what you appear to be looking for
aleks is the dnotify, or inotify API if your kernel supports it. That
does directory/file events under Linux. I've never used them my self
but Google should reveal more info.

> make much sense. Other events for files that may exist in certain
> operating
> systems are not made available directly by libevent.
>




Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
_______________________________________________
Libevent-users mailing list
[email protected]
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to