17 Aug
2013
17 Aug
'13
6:48 p.m.
2013/8/17 Andrey Semashev
You can use future and promise to pass asynchronous values, true. But still, its primary use is with threads. Things like async() and future.then() use threads to carry out actions. Even if you don't use these features, you can still use futures from Boost.Thread.
I mean using fibers instead threads
Note that I'm not saying there's no point in loosening this dependency of futures on threads. I'm saying that Boost.Sync doesn't look like a proper place for futures.
maybe boost.future?