Re: [Boost-bugs] [Boost C++ Libraries] #12949: using sleep_for in a thread context without including boost/thread/thread.hpp yields incorrect behaviour when BOOST_THREAD_HAS_CONDATTR_SET_CLOCK_MONOTONIC is defined

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12949: using sleep_for in a thread context without including boost/thread/thread.hpp yields incorrect behaviour when BOOST_THREAD_HAS_CONDATTR_SET_CLOCK_MONOTONIC is defined
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-08-24 06:22:20


#12949: using sleep_for in a thread context without including
boost/thread/thread.hpp yields incorrect behaviour when
BOOST_THREAD_HAS_CONDATTR_SET_CLOCK_MONOTONIC is defined
-------------------------------+----------------------
  Reporter: rkaris@… | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.63.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------

Comment (by viboes):

 I have another idea. What about provoking a linker error

 {{{
 Undefined symbols for architecture x86_64:
   "void boost::this_thread::sleep_for<long long, boost::ratio<1l, 1000l>
>(boost::chrono::duration<long long, boost::ratio<1l, 1000l> > const&)",
 referenced from:

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/12949#comment:8>
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-08-24 06:27:59 UTC