[haiku-development] Re: The new locking primitives and boosting -- I need some guidance here :)

"André Braga" <meianoite@xxxxxxxxx> wrote:
> On Wed, Jun 25, 2008 at 05:35, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
> wrote:
> > The way you propose works even less when the software doesn't play
> > by
> > the rules.
> No way.
>
> If a thread isn't assigned a proper priority value, when it passes
> through a semaphore that has a branding, it will be boosted according
> to the branding. I.e., according to the actual thread behaviour/code
> path followed.

Exactly -- someone has to brand that semaphore in the same way that
someone has to choose the thread semaphore; there is just no advantage.

Bye,
   Axel.


Other related posts: