Re: [PATCH] RT: Add priority-queuing and priority-inheritance to workqueue infrastructure

Gregory Haskins
2007-08-01T15:21:53Z

On Wed, 2007-08-01 at 08:10 -0700, Daniel Walker wrote:

>
> rt_mutex_setprio() is just a function. It was also designed specifically
> for PI , so it seems fairly sane to use it in other PI type
> situations ..
>

Yes. It is designed for PI and I wasn't suggesting you shouldn't use
the logic itself. What I was suggesting is that dealing with an API
that has "rt_mutex" in it for something that has nothing to do with
rt_mutexes is, well...

All I was suggesting is that we break out the PI subsystem from rt_mutex
code so its an independent PI API and have the rt_mutex subsystem become
a user. That's a far cleaner way to do it, IMHO.

-Greg