Re: Nested suspends; messages vs. states

Pavel Machek
2005-03-23T21:00:12Z

[-- Attachment #1: Type: text/plain, Size: 714 bytes --]

Hi!

> > > > > pm_message_t power_state;
> > > > >
> > > > > Obviously a message isn't the same thing as a state. This looks like
> > > > > something that will need to be changed in a lot of drivers when we
> > > > > introduce the new notion of a power state.
> > > >
> > > > This is not so obvious to me.
>
> It's a semantics thing, among others. "System transitioning to
> state Z" is a message, as is "system leaving state Z". Both are
> distinct from the "system state Z" being described.

But that does not mean you can't use same type for both.

Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!