[Boost-bugs] [Boost C++ Libraries] #11442: boost/smart_ptr/detail/yield_k.hpp should not unconditionally call ::nanosleep

Subject: [Boost-bugs] [Boost C++ Libraries] #11442: boost/smart_ptr/detail/yield_k.hpp should not unconditionally call ::nanosleep
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-07-02 01:12:41


#11442: boost/smart_ptr/detail/yield_k.hpp should not unconditionally call
::nanosleep
---------------------------------------+-----------------------
 Reporter: Ed Vogel <edward.vogel@…> | Owner: pdimov
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: smart_ptr
  Version: Boost 1.56.0 | Severity: Problem
 Keywords: |
---------------------------------------+-----------------------
 The file boost/smart_ptr/detail/yield_k.hpp will call ::nanosleep when
 it's compiled in multi-threaded mode.

 As nanosleep is not required for Boost (there is a BOOST_HAS_NANOSLEEP
 function), this code should really be guarded by conditionals and an
 #error directive executed if the platform does not support nanosleep.

 Yea...a real nit...but my boss wants one posted...

 Ed

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11442>
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:18 UTC