--- /usr/include/boost/thread/future.hpp +++ /usr/include/boost/thread/future.hpp @@ -785,7 +785,7 @@ void init(BOOST_THREAD_FWD_REF(Fp) f) { shared_ptr that = this->shared_from_this(); - this->thr_ = thread(&future_async_shared_state::run, that, boost::forward(f)); + this->thr_ = boost::thread(&future_async_shared_state::run, that, boost::forward(f)); } static void run(shared_ptr that_, BOOST_THREAD_FWD_REF(Fp) f) @@ -807,7 +807,7 @@ { void init(BOOST_THREAD_FWD_REF(Fp) f) { - this->thr_ = thread(&future_async_shared_state::run, this->shared_from_this(), boost::move(f)); + this->thr_ = boost::thread(&future_async_shared_state::run, this->shared_from_this(), boost::move(f)); } static void run(shared_ptr that_, BOOST_THREAD_FWD_REF(Fp) f) @@ -830,7 +830,7 @@ { void init(BOOST_THREAD_FWD_REF(Fp) f) { - this->thr_ = thread(&future_async_shared_state::run, this->shared_from_this(), boost::move(f)); + this->thr_ = boost::thread(&future_async_shared_state::run, this->shared_from_this(), boost::move(f)); } static void run(shared_ptr that_, BOOST_THREAD_FWD_REF(Fp) f) @@ -4034,7 +4034,7 @@ void launch_continuation(boost::unique_lock&, shared_ptr that) { - this->thr_ = thread(&future_async_continuation_shared_state::run, that); + this->thr_ = boost::thread(&future_async_continuation_shared_state::run, that); } static void run(shared_ptr that_) { @@ -4065,7 +4065,7 @@ } void launch_continuation(boost::unique_lock&, shared_ptr that) { - this->thr_ = thread(&future_async_continuation_shared_state::run, that); + this->thr_ = boost::thread(&future_async_continuation_shared_state::run, that); } static void run(shared_ptr that_) { @@ -4198,7 +4198,7 @@ } void launch_continuation(boost::unique_lock&, shared_ptr that) { - this->thr_ = thread(&shared_future_async_continuation_shared_state::run, that); + this->thr_ = boost::thread(&shared_future_async_continuation_shared_state::run, that); } static void run(shared_ptr that_) { @@ -4228,7 +4228,7 @@ } void launch_continuation(boost::unique_lock&, shared_ptr that) { - this->thr_ = thread(&shared_future_async_continuation_shared_state::run, that); + this->thr_ = boost::thread(&shared_future_async_continuation_shared_state::run, that); } static void run(shared_ptr that_) { @@ -4962,7 +4962,7 @@ future_when_all_vector_shared_state::run(this->shared_from_this()); return; } - this->thr_ = thread(&future_when_all_vector_shared_state::run, this->shared_from_this()); + this->thr_ = boost::thread(&future_when_all_vector_shared_state::run, this->shared_from_this()); } public: @@ -5029,7 +5029,7 @@ return; } - this->thr_ = thread(&future_when_any_vector_shared_state::run, this->shared_from_this()); + this->thr_ = boost::thread(&future_when_any_vector_shared_state::run, this->shared_from_this()); } public: @@ -5133,7 +5133,7 @@ return; } - this->thr_ = thread(&future_when_all_tuple_shared_state::run, this->shared_from_this()); + this->thr_ = boost::thread(&future_when_all_tuple_shared_state::run, this->shared_from_this()); } public: template< typename F, typename ...Fs> @@ -5199,7 +5199,7 @@ return; } - this->thr_ = thread(&future_when_any_tuple_shared_state::run, this->shared_from_this()); + this->thr_ = boost::thread(&future_when_any_tuple_shared_state::run, this->shared_from_this()); } public: