Re: [Boost-bugs] [Boost C++ Libraries] #9079: Condition variable will wait forever for some timepoint values.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9079: Condition variable will wait forever for some timepoint values.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-03 13:55:13


#9079: Condition variable will wait forever for some timepoint values.
-------------------------------+----------------------
  Reporter: mjklaim@… | Owner: anthonyw
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.54.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------

Comment (by anonymous):

 The CMake config:

 {{{

 cmake_minimum_required( VERSION 2.8.11 )

 if( WIN32 AND CMAKE_SIZEOF_VOID_P EQUAL 8 )
                 # On Windows 64bit: check that the right boost binaries
 are set before continuing
                 if( NOT DEFINED BOOST_LIBRARYDIR OR BOOST_LIBRARYDIR
 STREQUAL "BOOST_LIBRARYDIR-NOT-SET" )
                         set( BOOST_LIBRARYDIR "BOOST_LIBRARYDIR-NOT-SET"
 CACHE PATH "Location of the Boost library binaries" FORCE )
                         message( FATAL_ERROR "BOOST_LIBRARYDIR is not set
 (we need the 64bit version). Before continuing, please set it to the
 correct binary path (depending on if you want to link with 32 or 64bit
 version)." )
                 endif()

         endif()

 # Force Boost.Thread V4 use for all projects, including dependencies.
 add_definitions( -DBOOST_THREAD_VERSION=4 -DBOOST_RESULT_OF_USE_DECLTYPE )

 set( Boost_USE_STATIC_LIBS ON )
 set( Boost_USE_MULTITHREADED ON )
 set( Boost_USE_STATIC_RUNTIME OFF )
 find_package( Boost 1.54.0 REQUIRED COMPONENTS
         system
         date_time
         filesystem
         chrono
         thread
         program_options
         log
         log_setup
         iostreams
 )

 if( NOT Boost_FOUND )
         message( SEND_ERROR "Boost libraries NOT FOUND!" )
 endif()

 include_directories( ${Boost_INCLUDE_DIR} )

 add_executable( test main.cpp )
 target_link_libraries( test ${Boost_LIBRARIES} )
 }}}


 I tested only in 32bit mode.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9079#comment:1>
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:14 UTC