GCC: C0x11 threading support

Jonathan Wakely jwakely.gcc@gmail.com
Tue Nov 29 22:48:00 GMT 2011

On 29 November 2011 15:30, Erotavlas_turbo@libero.it wrote:
> So what are the differencies between the boost thread library and the future
> C++11 thread library? I have read that they should be the same...

boost::thread supports thread interruption, a feature not present in C++11.

A joinable boost::thread will detach automatically if it goes out of
scope, a std::thread will call std::terminate.

Boost provides a thread_group class.

For more details you should probably ask on the Boost list, it's not
really relevant to GCC.

More information about the Gcc-help mailing list