Re: [PATCH 01/13] PM: Add wake lock api.

Matthew Garrett
2009-02-13T19:14:26Z

On Fri, Feb 13, 2009 at 07:13:52PM +0100, Uli Luckas wrote:
> On Friday, 13. February 2009, Matthew Garrett wrote:
> >
> > The daemon holds the lock in the first place.
> When did the daemon take the lock? When it anticipated the process would
> crash?

When it was first asked to. In this model invidual applications wouldn't
take locks themselves - it would be up to the daemon to handle the
kernel interaction.

--
Matthew Garrett | mjg59@srcf.ucam.org