[thread] #2636 threads and locks

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á

----- Original Message ----- From: "vicente.botet" <vicente.botet@wanadoo.fr> To: <boost@lists.boost.org> Sent: Saturday, May 30, 2009 1:27 PM Subject: [boost] [thread] #2636 threads and locks 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á What I have not found is template<typename TimeDuration> shared_lock(Mutex& m_,TimeDuration const& target_time): m(&m_),is_locked(false) { timed_lock(target_time); } Maybe the reporter mispelled the class? Vicente
participants (1)
-
vicente.botet