|
Driver porting: sleeping and waking upDriver porting: sleeping and waking upPosted Mar 6, 2003 10:40 UTC (Thu) by driddoch (guest, #9975)Parent article: Driver porting: sleeping and waking up And just to illustrate how error prone the manual sleep interface is, the example has a bug: You must remove yourself from the wait queue before you return -ERESTARTSYS. No doubt this was deliberate ;-)
(Log in to post comments)
Driver porting: sleeping and waking up Posted Mar 6, 2003 13:43 UTC (Thu) by corbet (editor, #1) [Link] Of course it was deliberate. I decided that maybe it was too subtle a way of making my point, though, so I fixed it...:)
|
Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds
Powered by Rackspace Managed Hosting.