Wakelocks
Wakelocks
Posted Dec 23, 2011 12:36 UTC (Fri) by mjg59 (subscriber, #23239)In reply to: Wakelocks by neilbrown
Parent article: Bringing Android closer to the mainline
Right, but other than precise implementation details this is still equivalent to wakelocks (the main thing being that userspace has to repeatedly ask the kernel to go to sleep rather than it just happening automatically). It's no more elegant, and if you want it to carry on working in all the cases that wakelocks do then you still need to have timeout-based wakeup sources sprinkled throughout random bits of your code.
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
