From owner-freebsd-hackers@FreeBSD.ORG Mon May 21 13:48:54 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5181B16A400 for ; Mon, 21 May 2007 13:48:54 +0000 (UTC) (envelope-from dmw@unete.cl) Received: from mail07.ifxnetworks.com (mail07.ifxnetworks.com [190.61.128.17]) by mx1.freebsd.org (Postfix) with ESMTP id E74C013C45E for ; Mon, 21 May 2007 13:48:53 +0000 (UTC) (envelope-from dmw@unete.cl) Received: (qmail 7488 invoked from network); 21 May 2007 13:48:52 -0000 X-Spam-DCC: CTc-dcc1: mail07.ifxnetworks.com 1030; Body=1 Fuz1=1 Fuz2=1 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on mail07.ifxnetworks.com X-Spam-Level: X-Spam-Status: No, score=0.0 required=6.0 tests=none autolearn=disabled version=3.1.8 Received: from unknown (HELO quake) (dmw@unete.cl@[200.73.29.218]) (envelope-sender ) by mail07.ifxnetworks.com (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 21 May 2007 13:48:51 -0000 From: Daniel Molina Wegener Organization: DMW To: freebsd-hackers@freebsd.org, John-Mark Gurney Date: Mon, 21 May 2007 09:48:35 -0400 User-Agent: KMail/1.9.6 References: <200705201831.38828.dmw@unete.cl> <20070521075757.GG4602@funkthat.com> In-Reply-To: <20070521075757.GG4602@funkthat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705210948.36033.dmw@unete.cl> Cc: Subject: Re: kqueue implementation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dmw@unete.cl List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2007 13:48:54 -0000 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... 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!