Boost logo

Boost :

Subject: [boost] [thread] #2637 shared mutex lock
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2009-05-30 08:05:27


Hi,
"The folowing should be added
  template<typename TimeDuration?> bool shared_mutex::timed_lock_shared(TimeDuration? const & relative_time);

  template<typename TimeDuration?> bool shared_mutex::timed_lock(TimeDuration? const & relative_time);

"

Anthony, I think that this ticket is already on the released shared_mutex.hpp files:

        template<typename TimeDuration>
        bool timed_lock_shared(TimeDuration const & relative_time)
        {
            return timed_lock_shared(get_system_time()+relative_time);
        }

        template<typename TimeDuration>
        bool timed_lock(TimeDuration const & relative_time)
        {
            return timed_lock(get_system_time()+relative_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