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:
> 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?
>
>
>
Hi,

I've been working on a possible fix on this branch
https://github.com/boostorg/thread/tree/fix/blocking_future.

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,
Vicente


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net