Re: [Boost-bugs] [Boost C++ Libraries] #2637: Request for shared_mutex duration timed_lock and timed_lock_shared

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2637: Request for shared_mutex duration timed_lock and timed_lock_shared
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-12 22:52:04


#2637: Request for shared_mutex duration timed_lock and timed_lock_shared
-------------------------------+--------------------------------------------
  Reporter: mur@… | Owner: viboes
      Type: Feature Requests | Status: assigned
 Milestone: Boost 1.38.0 | Component: thread
   Version: Boost 1.37.0 | Severity: Optimization
Resolution: | Keywords: shared mutex duration
-------------------------------+--------------------------------------------

Comment (by viboes):

 These functions are already committed. Only the documentation is missing
 and I will deprecated them once I include the try_lock_for and
 try_lock_shared_for functions having as parameter a chrono::duration
 parameter.

 {{{
     template <class Rep, class Period>
         bool try_lock_for(const std::chrono::duration<Rep, Period>&
 rel_time);
     template <class Clock, class Duration>
         bool
         try_lock_until(
                       const std::chrono::time_point<Clock, Duration>&
 abs_time);

     template <class Rep, class Period>
         bool
         try_lock_shared_for(const std::chrono::duration<Rep, Period>&
 rel_time);
     template <class Clock, class Duration>
         bool
         try_lock_shared_until(
                       const std::chrono::time_point<Clock, Duration>&
 abs_time);
 }}}


 Would this respond to your request once the chrono based interface is
 released?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2637#comment:4>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC