Discussion:
kqueue implementation
(too old to reply)
Daniel Molina Wegener
2007-05-20 22:31:38 UTC
Permalink
Hello,

I'm coding an application using the kqueue facility, but
I see that I can't handle open and read events. Is planned to
implement these handlings in the future?. Also, which facility
can I use to handle these kind of events?

Regards,
--
.O. | Daniel Molina Wegener | C/C++ Developer
..O | dmw [at] unete [dot] cl | FOSS Coding Adict
OOO | BSD & Linux User | Standards Rocks!
John-Mark Gurney
2007-05-21 07:57:58 UTC
Permalink
Post by Daniel Molina Wegener
I'm coding an application using the kqueue facility, but
I see that I can't handle open and read events. Is planned to
implement these handlings in the future?. Also, which facility
can I use to handle these kind of events?
I'm unsure what you mean by open and read events? Do you mean getting
an event when another process opens are file? or? As for read, they
work fine for sockets, as w/ select, files are always ready to read
even though they may block to read from disk...
--
John-Mark Gurney Voice: +1 415 225 5579

"All that I will do, has been done, All that I have, has not."
Daniel Molina Wegener
2007-05-21 13:48:35 UTC
Permalink
Daniel Molina Wegener wrote this message on Sun, May 20, 2007
Post by Daniel Molina Wegener
I'm coding an application using the kqueue facility, but
I see that I can't handle open and read events. Is planned
to implement these handlings in the future?. Also, which
facility can I use to handle these kind of events?
I'm unsure what you mean by open and read events? Do you
mean getting an event when another process opens are file?
or? As for read, they work fine for sockets, as w/ select,
files are always ready to read even though they may block to
read from disk...
Hello,

I mean vnode events, in the manual page I see NOTE_WRITE, but I
need NOTE_OPEN and NOTE_READ. Is there any chance to get these
kind of events?

Regards,
--
.O. | Daniel Molina Wegener | C/C++ Developer
..O | dmw [at] unete [dot] cl | FOSS Coding Adict
OOO | BSD & Linux User | Standards Rocks!
Loading...