Re: [Boost-bugs] [Boost C++ Libraries] #7370: Boost.Thread documentation

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7370: Boost.Thread documentation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-24 06:04:51


#7370: Boost.Thread documentation
------------------------------------------------------+---------------------
  Reporter: Valentin Shtronda <valiko.ua@…> | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: Boost 1.52.0 | Component: thread
   Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------------------------+---------------------

Comment (by viboes):

 Replying to [comment:11 viboes]:
> Replying to [comment:9 Valentin Shtronda <valiko.ua@…>]:
> > Replying to [comment:7 viboes]:
> > > Please, could you point where the implementation is throwing?
> >
> > boost_1_51_0\boost\thread\locks.hpp, lines 598, 869, 1100.
>
>
> It would be great if unique_lock/shared_lock BasicLockable but they
 aren't. Where have you read that the locks defined there are a model of
 BasicLockable?

 Hrr, I've found it

 "
  Specializations of boost::unique_lock model the TimedLockable concept if
 the supplied Lockable type itself models TimedLockable concept (e.g.
 boost::unique_lock<boost::timed_mutex>), or the Lockable concept if the
 supplied Lockable type itself models Lockable concept (e.g.
 boost::unique_lock<boost::mutex>), or the BasicLockable concept if the
 supplied Lockable type itself models BasicLockable concept.
 "

 I will remove this with a note explaining why they are not model of
 TimedLockable.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7370#comment:12>
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:10 UTC