Boost logo

Boost Users :

Subject: Re: [Boost-users] [thread] await hangs when using boost::promise/future
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2015-01-25 03:43:51

Le 17/01/15 14:45, TONGARI J a écrit :
> 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?

I've been working on a possible fix on this branch

I have found a lot of issues on the current implementation and most of
them are fixed now (weel at least I think so), however I have yet some
issues with shared_future::then.

Please, could you give a try to this branch?

Thanks in advance,

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