LWN.net Logo

Kernel events without kevents

Kernel events without kevents

Posted Mar 15, 2007 17:25 UTC (Thu) by pphaneuf (guest, #23480)
In reply to: Kernel events without kevents by bronson
Parent article: Kernel events without kevents

Sorry for the confusion, I was unaware of FUTEX_FD! That said, I didn't test it either, but it looks similar to what I have been wanting.

I suppose what I am wishing for is for this to be in the POSIX thread API itself, but that's asking for a great deal.


(Log in to post comments)

Kernel events without kevents

Posted Mar 16, 2007 15:53 UTC (Fri) by cventers (subscriber, #31465) [Link]

I think I remember reading something on LKML about FUTEX_FD being
broken...

Kernel events without kevents

Posted Mar 16, 2007 15:58 UTC (Fri) by pphaneuf (guest, #23480) [Link]

Since it doesn't see any use in the mutex API that everyone uses, it's not surprising... Code that's not used tends to rot.

Too bad, I would like that. I'll stay with my "pipes as semaphores" trick in the meantime...

Kernel events without kevents

Posted Mar 16, 2007 16:47 UTC (Fri) by bronson (subscriber, #4806) [Link]

You're right. Apparently it's "unfixably racy" and will disappear in June 2007.

http://lkml.org/lkml/2006/10/31/391

And it looks like there's no alternative other than self-pipes. Arg!

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds