$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [thread] await hangs when using boost::promise/future
From: TONGARI J (tongari95_at_[hidden])
Date: 2015-01-17 08:45:53
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?
Thanks.