just::thread C++0x Thread Library Beta V0.1 Released
Thursday, 16 October 2008
I am pleased to announce that just::thread, our C++0x Thread Library is now available as a beta release. You can sign up at the just::thread Support forum to download the beta or send an email to beta@stdthread.co.uk.
Currently, it only works with Microsoft Visual Studio 2008 or Microsoft Visual C++ 2008 Express for 32-bit Windows, though support for other compilers and platforms is in the pipeline.
Though there are a couple of limitations (such as the number of
arguments that can be supplied to a thread function, and the lack of
custom allocator support for std::promise), it is a
complete implementation of the new C++0x thread library as per the
current
C++0x working paper. Features include:
std::threadfor launching threads.- Mutexes and condition variables.
std::promise,std::packaged_task,std::unique_futureandstd::shared_futurefor transferring data between threads.- Support for the new
std::chronotime interface for sleeping and timeouts on locks and waits. - Atomic operations with
std::atomic. - Support for
std::exception_ptrfor transferring exceptions between threads.
Please sign up and download the beta today. The library should be going on sale by the end of November.
Please report bugs on the just::thread Support Forum or email to beta@stdthread.co.uk.
Posted by Anthony Williams
[/ news /] permanent link
Tags: multithreading, concurrency, C++0x
Digg This | Save to del.icio.us | Stumble It! | Submit to Reddit | Submit to DZone
If you liked this post, why not subscribe to the RSS feed
?
2 Comments
Does this thread library work for OpenMP?
The library doesn't use OpenMP, and nor does it enable the use of OpenMP, but it should coexist with uses of OpenMP elsewhere in the application.