Hello!

[wrap your lines to something below 80 chars please. And there's no need
to indent your own text, is there?]

On Mon, Nov 28, 2005 at 02:25:11PM -0800, aleks sheynkman wrote:
>So to make the question simple , I used  a libevent to mange 100th
>of file handles , where I write a data into all of them , now Iwhen
>I tried to use regular files ( not a fifo like file) and every time I
>call event_set  for read it gives me back an error -1 on the epoll_ctl
>call ( now this works fine with the FIFO )

>Now the questions, libevent uses a epoll_wait, can I use epoll for
>the regular files or Linux kernel does not allow ?

Someone else reported that epoll_ctl reports EPERM for plain files.

But it wouldn't make sense, on backends like select or poll, plain files
return readable and writable all the time, anyway. So just read/write
your stuff on plain files without going through the mainloop.

>[...]

Kind regards,

Hannah.

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

Reply via email to