From owner-freebsd-hackers@FreeBSD.ORG Mon Nov 15 18:38:09 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C19491065672 for ; Mon, 15 Nov 2010 18:38:09 +0000 (UTC) (envelope-from leonerd@leonerd.org.uk) Received: from cel.leonerd.org.uk (cel.leonerd.org.uk [81.187.167.226]) by mx1.freebsd.org (Postfix) with ESMTP id 7422E8FC16 for ; Mon, 15 Nov 2010 18:38:09 +0000 (UTC) Received: by cel.leonerd.org.uk (Postfix, from userid 1000) id 81A1740A9; Mon, 15 Nov 2010 18:38:08 +0000 (GMT) Date: Mon, 15 Nov 2010 18:38:08 +0000 From: Paul LeoNerd Evans To: Julian Elischer Message-ID: <20101115183807.GW11110@cel.leo> References: <20101112184000.GS11110@cel.leo> <201011151125.42697.jhb@freebsd.org> <20101115181211.GV11110@cel.leo> <4CE17CF5.6050107@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oRUqH22/eHvpdsWk" Content-Disposition: inline In-Reply-To: <4CE17CF5.6050107@freebsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-hackers@freebsd.org Subject: Re: Managing userland data pointers in kqueue/kevent X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2010 18:38:09 -0000 --oRUqH22/eHvpdsWk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 15, 2010 at 10:33:25AM -0800, Julian Elischer wrote: > it was provided for pretty much what you are using it for, so that > the userland caller could > easily associate the returning event with some private information > about the event. This was indeed the impression I got. With reference to my original questions regarding its use, perhaps you could suggest some way to actually use this API then, in order to solve my problem? Unless there's some subtle detail or trick I have misunderstood, it doesn't appear to be easily possible in this manner. How would you suggest I manage these pointers and data structures? --=20 Paul "LeoNerd" Evans leonerd@leonerd.org.uk ICQ# 4135350 | Registered Linux# 179460 http://www.leonerd.org.uk/ --oRUqH22/eHvpdsWk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iD8DBQFM4X4PvLS2TC8cBo0RAigYAKD/LAL95kSQfzoRc0yECjkL9XkFSQCfeUkK I2ubutgoBcn5d46hXq9cSs0= =C9QV -----END PGP SIGNATURE----- --oRUqH22/eHvpdsWk--