Boost logo

Boost Users :

Subject: Re: [Boost-users] [thread] await hangs when using boost::promise/future
From: TONGARI J (tongari95_at_[hidden])
Date: 2015-01-17 08:48:30

2015-01-17 21:45 GMT+08:00 TONGARI J <tongari95_at_[hidden]>:

> Hi,
> The sample code is here:
> 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,

> Thanks.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at