On Mon, Jun 16, 2008 at 3:11 PM, Hannah Schroeter <[EMAIL PROTECTED]> wrote:
[...]
> On most OSes, however, checking for "readable" on plain files always
> immediately returns/yields a readable event anyway, so it's of no use
> (e.g. select/poll on Unix, I guess the same for epoll/kqueue, ok,
> kqu
Hi!
On Sat, Jun 14, 2008 at 02:03:20PM -0400, Nick Mathewson wrote:
>On Thu, Jun 12, 2008 at 07:59:45AM -0700, Teunis Peters wrote:
>> I've not found any code to work with - but is there any reason that
>> libevent would not work with standard files?
>> I keep getting permission denied
>> more
On Thu, Jun 12, 2008 at 07:59:45AM -0700, Teunis Peters wrote:
> I've not found any code to work with - but is there any reason that
> libevent would not work with standard files?
>
> I keep getting permission denied
>
> more or less:
>
> fd = open(filename, O_RDONLY)
> event_set(&ev, EV_READ |
I've not found any code to work with - but is there any reason that
libevent would not work with standard files?
I keep getting permission denied
more or less:
fd = open(filename, O_RDONLY)
event_set(&ev, EV_READ | EV_PERSIST, rd_callback, rd_data);
event_add(&ev, NULL)
-> EPERM
Or does libev