[Pm-utils] [patch commit] [000] POSIXification of pm-utils

Dan Nicholson dbn.lists at gmail.com
Tue Jan 29 13:14:08 PST 2008


On Jan 29, 2008 12:48 PM, Richard Hughes <hughsient at gmail.com> wrote:
>
> On Tue, 2008-01-29 at 21:23 +0100, Till Maas wrote:
> > On Tue January 29 2008, Victor Lowther wrote:
> > > On Jan 29, 2008 12:22 PM, Richard Hughes <hughsient at gmail.com> wrote:
> > > > On Mon, 2008-01-28 at 23:12 +0100, Till Maas wrote:
> > > > > Here is now a patch agains pm-utils git with /var/run/pm-utils/lock
> > > > > as
> > > > > lockfile. It also makes sure that /var/run/pm-utils, i.e. the
> > > > > directory for
> > > > > the lockfile is generated, and it uses variables for the directories
> > > > > to store
> > > > > state and service information and creates/removes them properly. They
> > > > > are now
> > > > > subdirectories of /var/run/pm-utils.
> > > >
> > > > Applied, thanks.
> > >
> > > You should probably reverse this patch and apply Till's updated patch
> > > -- this one breaks 90clock locking due to quoting errors.
> >
> > To make this easier, here is the updated patch again.
>
> Done, thanks.

Earlier Victor and I discussed moving the sleep after the check in
spin_lock(). That got lost in the shuffle, so here's a new patch.

http://lists.freedesktop.org/archives/pm-utils/2008-January/000755.html

--
Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spin-lock-sleep.patch
Type: text/x-diff
Size: 858 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/pm-utils/attachments/20080129/e7976a51/attachment.patch 


More information about the Pm-utils mailing list