Boost logo

Boost :

Subject: [boost] [thread] #2636 threads and locks
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2009-05-30 07:27:08


Hi,
"The standard includes
template <class Duration> unique_lock(mutex_type& m, const Duration& rel_time);
which is not in boost::threads. "

Anthony, I think that this ticket is already on the released locks.hpp file (modified with 48213, 49324) :
        template<typename TimeDuration>
        unique_lock(Mutex& m_,TimeDuration const& target_time):
            m(&m_),is_locked(false)
        {
            timed_lock(target_time);
        }

So it can be closed.

Best,
_____________________
Vicente Juan Botet Escribá


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