All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] priority inheritance question
@ 2014-02-27  9:43 Johann Obermayr
  2014-02-27  9:51 ` Philippe Gerum
  0 siblings, 1 reply; 2+ messages in thread
From: Johann Obermayr @ 2014-02-27  9:43 UTC (permalink / raw)
  To: xenomai@xenomai.org

Hello,

have 2 tasks
task1 with prio 10
task2 with prio 20

task1 acquire a mutex
now task2 will acquire the same mutex

than task1 get higher priority.

But what gets priority task1?
20 or 21 ?

Thanks
   Johann


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Xenomai] priority inheritance question
  2014-02-27  9:43 [Xenomai] priority inheritance question Johann Obermayr
@ 2014-02-27  9:51 ` Philippe Gerum
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2014-02-27  9:51 UTC (permalink / raw)
  To: johann.obermayr, xenomai@xenomai.org

On 02/27/2014 10:43 AM, Johann Obermayr wrote:
> Hello,
>
> have 2 tasks
> task1 with prio 10
> task2 with prio 20
>
> task1 acquire a mutex
> now task2 will acquire the same mutex
>
> than task1 get higher priority.
>
> But what gets priority task1?
> 20 or 21 ?
>

20.

-- 
Philippe.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-27  9:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-27  9:43 [Xenomai] priority inheritance question Johann Obermayr
2014-02-27  9:51 ` Philippe Gerum

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.