Boost logo

Threads-Devel :

Subject: [Threads-devel] boost futures vs C++0x futures
From: Conoscenza Silente (abruzzoforteegentile_at_[hidden])
Date: 2010-03-03 15:54:04


Hi All
Only today In the Thread library I noticed in the synchronization section
the classes boost<http://www.boost.org/doc/libs/1_42_0/doc/html/thread/synchronization.html#thread.synchronization.futures.reference.unique_future>
::<http://www.boost.org/doc/libs/1_42_0/doc/html/thread/synchronization.html#thread.synchronization.futures.reference.unique_future>
unique_future<http://www.boost.org/doc/libs/1_42_0/doc/html/thread/synchronization.html#thread.synchronization.futures.reference.unique_future>
, boost::shared_future<http://www.boost.org/doc/libs/1_42_0/doc/html/thread/synchronization.html#thread.synchronization.futures.reference.shared_future>
 and boost<http://www.boost.org/doc/libs/1_42_0/doc/html/thread/synchronization.html#thread.synchronization.futures.reference.promise>
::<http://www.boost.org/doc/libs/1_42_0/doc/html/thread/synchronization.html#thread.synchronization.futures.reference.promise>
promise<http://www.boost.org/doc/libs/1_42_0/doc/html/thread/synchronization.html#thread.synchronization.futures.reference.promise>
.
Are these classes the same "futures and promises" of the the next C++0x
classes or it is missing something in the current boost implementation?
I would like to start getting confident with these new tools, but I would
like also to know what are the difference with the ones that will come out
in the C++0x.
Thanks for any advice
AFG



Threads-Devel list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk