Boost logo

Boost :

Subject: Re: [boost] boost threads: pthread mutex priority inheritance + patches
From: Jason Newton (nevion_at_[hidden])
Date: 2011-10-21 17:27:40


Ack, no discussion on this since I posted it back in July. In my opensuse
packages, I apply the following patch to insure priority inheritence on
mutexs. I had to go inside the mutex ctor to do the work.

-Jason

On Wed, Jul 27, 2011 at 5:40 PM, Jason Newton <nevion_at_[hidden]> wrote:

> On Wed, Jul 27, 2011 at 4:48 PM, Jason Newton <nevion_at_[hidden]> wrote:
>
>> For the moment, the few lines that compose the mutex class are easily
>> copied so that I can do my own business inside the constructor but I expect
>> others will run into this problem down the line and this solution is a bit
>> unsavory. Any better advice?
>>
>
> Actually a private copy of mutex didn't work so well overall as pthread
> conditions are hard coded to
> void boost::condition_variable::wait(boost::unique_lock<boost::mutex>&)
>
> -Jason
>




Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk