id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 11818,future.then will be blocked if promise is set after the invocation of then,Xiaoshuang LU ,viboes," {{{ int function() { boost::promise promise; boost::future future = promise.get_future(); boost::future result = future.then ( boost::launch::deferred, [](boost::future && f) { std::cout << std::this_thread::get_id() << "": callback"" << std::endl; std::cout << ""The value is: "" << f.get() << std::endl; return f.get(); } ); // We could not reach here. std::cout << std::this_thread::get_id() << "": function"" << std::endl; promise.set_value(0); return 0; } }}} ",Bugs,closed,Boost 1.60.0,thread,Boost 1.59.0,Problem,fixed,,