17 Jan
2015
17 Jan
'15
1:48 p.m.
2015-01-17 21:45 GMT+08:00 TONGARI J
Hi,
The sample code is here: https://gist.github.com/jamboree/3b8716ad1922749e77ae
The boost::future adaption code is adapted from N4286.
Tested with VS2015 preview. If std::promise is passed, the code works fine. Any clue why it hangs if boost::promise is passed?
Forgot to mention that it's compiled with Boost 1.57, BOOST_THREAD_VERSION=4, x64
Thanks.