From owner-freebsd-hackers Fri Jul 27 16: 9:20 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from vaca.uniandes.edu.co (vaca.uniandes.edu.co [157.253.54.5]) by hub.freebsd.org (Postfix) with ESMTP id BAC9937B401; Fri, 27 Jul 2001 16:09:15 -0700 (PDT) (envelope-from y-carden@uniandes.edu.co) Received: from vaca.uniandes.edu.co (localhost [127.0.0.1]) by vaca.uniandes.edu.co (8.12.0.Beta7/8.12.0.Beta7) with SMTP id f6RN8vHn021506; Fri, 27 Jul 2001 18:09:05 -0500 (GMT+5) Received: (from webmail [157.253.54.4]) by vaca.uniandes.edu.co (NAVGW 2.5.1.6) with SMTP id M2001072718090327396 ; Fri, 27 Jul 2001 18:09:03 -0500 From: y-carden@uniandes.edu.co To: jlemon@FreeBSD.org Cc: hackers@FreeBSD.org Subject: KNOTE() X-Mailer: Netscape Messenger Express 3.5.2 [Mozilla/4.0 (compatible; MSIE 5.01; Windows NT)] Date: Fri, 27 Jul 2001 18:09:03 -0500 Message-Id: Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dear Jonathan I want ask a favor to you. I have try to get help in hackers list, but it was unsuccessful. Days ago, I asked : > I need pass asynchronously data from kernel > to a userland process, include a quantity variable of > data (void *opaque). And Terry Lambert wrote: >The easiest way to do this is to have the user space process >register a kevent, and then KNOTE() in the kernel when the >event takes place. I don't know how I can do it exactly. Into my kernel code, How I can know that kevent/kqueue was created by the userland process? In other words I need from kernel code "to trigger the kevent", for the userland aplication. Thanks for your help. +------------------------------+ YONNY CARDENAS B. Systems Engineer Student M.Sc. UNIVERSIDAD DE LOS ANDES +-------------------------------+ UNIX is BSD, and FreeBSD is an advanced 4.4BSD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message