Boost logo

Boost :

Subject: [boost] [thread] deprecating Mutex::scoped_lock and Mutex::scoped_try_lock and boost::condition
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-10-20 07:08:18


Hi,

I would like to deprecate the following features in Boost.Thread:

* Mutex::scoped_lock and Mutex::scoped_try_lock so that we can make
mutex types independent from locks.
  The user should use instead unique_lock<Mutex> and the new public
class try_unique_lock.

* condition: This was there for forward compatibility since 1.35.
The user should use instead condition_variable_any.

What do you think?

Best,
Vicente


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