LWN.net Logo

Reworking the semaphore interface

Reworking the semaphore interface

Posted Dec 18, 2005 9:14 UTC (Sun) by hamjudo (subscriber, #363)
In reply to: Reworking the semaphore interface by khim
Parent article: Reworking the semaphore interface

As a very occasional kernel hacker who mostly codes by looking at other device drivers. If I model my code after obsolete code or documentation, I don't want source code compatibility. I want a compile time error message that is easy to google.

If there is a flag day, could someone do people like me a favor? Attempt to compile a function written in the old style, with headers for the new style, then paste the error message into a comment attached to this article. Or if the details change, the article describing the updated change.

If I forget about this change when it matters and I make the mistake, google will lead me to an article that tells me the right way to do it.


(Log in to post comments)

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