|
Driver porting: sleeping and waking upDriver porting: sleeping and waking upPosted May 24, 2005 10:07 UTC (Tue) by andyparkins (guest, #30122)Parent article: Driver porting: sleeping and waking up In the example:
while (! condition) {
prepare_to_wait(&queue, &wait, TASK_INTERRUPTIBLE);
if (! condition)
schedule();
finish_wait(&queue, &wait)
}
Should finish_wait() not be outside the loop?
(Log in to post comments)
|
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.