[ https://issues.apache.org/jira/browse/THRIFT-4199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James E. King III updated THRIFT-4199: -------------------------------------- Affects Version/s: (was: 1.0) This issue was marked as affecting version 1.0 which is not possible. If you know which version this issue was discovered in, please mark it as such. > Replace timed_wait by wait_for as it blocks indefinitely > -------------------------------------------------------- > > Key: THRIFT-4199 > URL: https://issues.apache.org/jira/browse/THRIFT-4199 > Project: Thrift > Issue Type: Bug > Components: C++ - Library > Environment: - x86 Linux , x64 Linux (Ubuntu 14.04). > - armv7 Linux > Reporter: Anton Indrawan > Priority: Major > > Thrift still uses the timed_wait function which is (soon to be) deprecated > from boost's condition_variable. > That function blocks indefinitely if thrift is linked against boost v1.63 > libraries compiled with BOOST_THREAD_HAS_CONDATTR_SET_CLOCK_MONOTONIC. > It is a known [boost issue|https://svn.boost.org/trac/boost/ticket/12728] and > boost mentioned to use the chrono interface which is the {{wait_for}} > function. > Currently, thrift uses the timed_wait function in: > - > https://github.com/apache/thrift/blob/master/lib/cpp/src/thrift/concurrency/BoostMonitor.cpp -- This message was sent by Atlassian JIRA (v7.6.3#76005)