id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 12102,condition_variable_fwd.hpp fails to compile when BOOST_THREAD_PROVIDES_INTERRUPTIONS is disabled,mark.benvenuto@…,viboes,"condition_variable_fwd.hpp fails to compile when BOOST_THREAD_PROVIDES_INTERRUPTIONS is disabled because of an undefined variable. Code in question: #if defined BOOST_THREAD_PROVIDES_INTERRUPTIONS int res=pthread_mutex_init(&internal_mutex,NULL); if(res) { boost::throw_exception(thread_resource_error(res, ""boost::condition_variable::condition_variable() constructor failed in pthread_mutex_init"")); } #endif res = detail::monotonic_pthread_cond_init(cond); if (res) { #if defined BOOST_THREAD_PROVIDES_INTERRUPTIONS BOOST_VERIFY(!pthread_mutex_destroy(&internal_mutex)); #endif boost::throw_exception(thread_resource_error(res, ""boost::condition_variable::condition_variable() constructor failed in detail::monotonic_pthread_cond_init"")); } } ",Bugs,closed,Boost 1.62.0,thread,Boost 1.60.0,Regression,fixed,,