Boost logo

Boost Users :

Subject: [Boost-users] using a boost::shared_mutex in a share_ptr
From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2011-10-31 20:14:10


Hi:
I have the following variable declared in a class:
Boost::shared_ptr<boost;:shared_mutex>
If I have a standard boost::shared_mutex, I can pass this to a shared or unique lock.
How do I pass a boost::shared_ptr<boost::shared_mutex> to a lock?
This is probably really simple, but I carn't fathum it out!
Cheers
Sean.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net