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::thread for launching threads.
  • Mutexes and condition variables.
  • std::promise, std::packaged_task, std::unique_future and std::shared_future for transferring data between threads.
  • Support for the new std::chrono time interface for sleeping and timeouts on locks and waits.
  • Atomic operations with std::atomic.
  • Support for std::exception_ptr for 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: , ,
Digg This | Save to del.icio.us | Stumble It! | Submit to Reddit | Submit to DZone

Comment on this post

If you liked this post, why not subscribe to the RSS feed RSS feed?

2 Comments

Does this thread library work for OpenMP?

by Jason at 16:29:50 on Wednesday, 29 October 2008

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.

by Anthony Williams at 21:59:39 on Wednesday, 29 October 2008

Add your comment

Your name:

Your URL:

Email address:

Person or spambot?

Your comment: