Boost logo

Boost :

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


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