Managing userland data pointers in kqueue/kevent

Paul LeoNerd Evans leonerd at leonerd.org.uk
Mon Nov 15 18:38:09 UTC 2010


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?

-- 
Paul "LeoNerd" Evans

leonerd at leonerd.org.uk
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20101115/74ac9fec/attachment.pgp


More information about the freebsd-hackers mailing list