Date: Mon, 21 May 2007 16:23:26 -0700 From: John-Mark Gurney <gurney_j@resnet.uoregon.edu> To: Daniel Molina Wegener <dmw@unete.cl> Cc: freebsd-hackers@freebsd.org, Suleiman Souhlal <ssouhlal@freebsd.org> Subject: Re: kqueue implementation Message-ID: <20070521232326.GJ4602@funkthat.com> In-Reply-To: <200705210948.36033.dmw@unete.cl> References: <200705201831.38828.dmw@unete.cl> <20070521075757.GG4602@funkthat.com> <200705210948.36033.dmw@unete.cl>
next in thread | previous in thread | raw e-mail | index | archive | help
Daniel Molina Wegener wrote this message on Mon, May 21, 2007 at 09:48 -0400: > On Monday 21 May 2007 03:57:58 John-Mark Gurney wrote: > > Daniel Molina Wegener wrote this message on Sun, May 20, 2007 > at 18:31 -0400: > > > 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... > > 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? Yes, it should be possible... You should ask Suleiman Souhlal (cc'd) (ssouhlal) who did some recent work in that area... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070521232326.GJ4602>