LWN.net Logo

checking signal_pending

checking signal_pending

Posted Mar 12, 2004 0:35 UTC (Fri) by ianw (subscriber, #20143)
Parent article: Driver porting: sleeping and waking up

The code with the helper functions above omits the pending_signal() call, implying it is not needed. I may be wrong, but I can't see anything in the path of finish_wait() that checks for signals, so I belive you still need to make that pending_signal() call?


(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.