just::thread Support Forum
General Category => General Discussion about just::thread => Topic started by: Anthony Williams on August 22, 2011, 09:43:59 AM
-
I am pleased to announce that version 1.6.1 of just::thread has been released.
Changes include:
- Updated API to conform to the Final C++0x Standard draft
- Support for gcc 4.6 on Ubuntu Natty (using the packages from the Ubuntu Toolchain PPA (https://launchpad.net/~ubuntu-toolchain-r/+archive/test?field.series_filter=natty)), Fedora 15 and MacOSX.
- Support for thread-local variables with non-trivial constructors and destructors using the JSS_THREAD_LOCAL (http://www.stdthread.co.uk/doc/headers/thread/jss_thread_local.html) macro in place of the new thread_local keyword (which is not supported in any current compilers) .
- The std::hash<std::thread::id> specialization has been added.
- The new constexpr and noexcept keywords are used where supported (gcc 4.6 in -std=c++0x mode.)
- The return type of lambda functions is correctly deduced in std::async (http://www.stdthread.co.uk/doc/headers/future/async.html) in both gcc 4.5 and 4.6 and MSVC 2010.
- Various optimizations, including reduction in thread creation code and the overhead of std::async (http://www.stdthread.co.uk/doc/headers/future/async.html).
- Added std::chrono::system_clock::from_time_t (http://www.stdthread.co.uk/doc/headers/chrono/system_clock/from_time_t.html) in place of std::chrono::system_clock::to_time_point (http://www.stdthread.co.uk/doc/headers/chrono/system_clock/to_time_point.html).
As usual, existing customers are entitled to a free upgrade to V1.6.1 from all earlier versions.