[Pm-utils] [PATCH 1/6] Split hook running into two phases -- core and aux
victor.lowther at gmail.com
Sat May 17 09:26:09 PDT 2008
On Sat, 2008-05-17 at 17:52 +0200, Till Maas wrote:
> > > > If we want to try and enforce this convention, we will want to ignore
> > > > all hooks whose names do not begin with a numeric prefix. This is also
> > > > easuly codeable.
> > >
> > > Enforcement is probably good, and a warning would probably be good,
> > > too. Silently ignoring a hook that used to run would be lame.
> > Yeah, I will continue to log all hooks that did not run with the reason
> > why.
> How about running hooks without a numeric prefix first? This makes it obvious
> that they do not need a special ordering.
Actually, what this patch series does is run hooks without a numeric
prefix in parallel, wait for them all to finish, then run the numbered
hooks in the usual fashion.
> Pm-utils mailing list
> Pm-utils at lists.freedesktop.org
Ubuntu Certified Professional
More information about the Pm-utils