|
Boost Users : |
Subject: Re: [Boost-users] porting boost threads
From: Keith Bennett (kanezor_at_[hidden])
Date: 2014-05-07 11:16:16
On Tue, May 6, 2014 at 4:42 PM, Jono Poff <jonathan.poff_at_[hidden]>wrote:
> One of my old wrapper classes typedefs
> boost::detail::thread::scoped_lock<boost::recursive_mutex> which seems to
> be missing from the latest version. Replaced with
> boost::mutex::scoped_lock perhaps? I expect to find other changes i
> thread...
>
I rather suspect it's now boost::unique_lock< boost::recursive_mutex >
Where unique_lock provides RAII scoped-lock "front end" semantics and
recursive_mutex provides the "back end" for the lock.
http://www.boost.org/doc/libs/1_55_0/doc/html/thread/synchronization.html
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