25 Jan
2015
25 Jan
'15
8:43 a.m.
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