Skip to contentSkip to conversation

priority inheritance question

Xenomai Johann Obermayr 2 participants 2 messages Feb 27, 2014

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 6 lines · Johann Obermayr

Hello,

have 2 tasks
task1 with prio 10
task2 with prio 20

Quoted 8 lines

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.

Signature · 1 line
Philippe.