Wednesday, 25 May 2011
If you're interested in C++0x, I'm sure you're aware that the C++0x Final Draft International Standard (FDIS) was voted out at the last C++ Standards Committee meeting. See Michael Wong's blog post and Herb Sutter's blog post if you've been hiding under a rock for the last two months.
Anyway, after the vote at the meeting, the FDIS itself was
published in April, and
just::thread has now been
updated to match the FDIS as close as possible. Where there have
been changes to names (such
the old names have been kept, though they are marked "deprecated"
using compiler annotations.
- Support for gcc 4.6 on Ubuntu Natty (using the packages from the Ubuntu Toolchain PPA) and Fedora 15.
- Support for thread-local variables with non-trivial constructors
and destructors using
JSS_THREAD_LOCALmacro in place of the new
thread_localkeyword (which is not supported in any current compilers) .
std::hash<std::thread::id>specialization has been added.
- The new
noexceptkeywords are used where supported (gcc 4.6 in -std=c++0x mode.)
- The return type of lambda functions is correctly deduced
std::asyncin both gcc 4.5 and 4.6 and MSVC 2010.
- Various optimizations, including reduction in thread creation
code and the overhead
- Added std::chrono::system_clock::from_time_t
As usual, existing customers are entitled to a free upgrade to V1.6.0 from all earlier versions.
Design and Content Copyright © 2005-2017 Just Software Solutions Ltd. All rights reserved.