multithreading - priority inversion in mutex vs semaphore -


why (and how) mutex can deal priority inversion , semaphores not?

i read in lots of places difference (one of them) between mutex , semaphore priority inversion, can explain please?

from wikipedia:

since mutex knows current owner, possible promote priority of owner whenever higher-priority task starts waiting on mutex.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -