Driver porting: sleeping and waking up
Posted Mar 6, 2003 10:40 UTC (Thu) by driddoch
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 ;-)
to post comments)