C++ Standard Thread Library
The upcoming C++ standard (C++0x) will support multithreading and concurrency both as an inherent part of the memory model, and as part of the C++ Standard Library.
With the just::thread C++ Standard Thread Library
implementation, you can start using the C++0x thread library
today — no need to wait for a new compiler.
Order your copy of just::thread today, and get started within minutes.
Features
- Developed by Anthony Williams, author or co-author of many of the threading-related proposals for C++0x, author of C++ Concurrency in Action and maintainer of the Boost thread library.
- Tight adherence to the C++0x working draft.
std::threadclass for launching and managing threads.std::asyncfunction for starting asynchronous tasks.- Mutex classes (
std::mutex,std::timed_mutex, etc.) for protecting shared data. - Condition variables (
std::condition_variableandstd::condition_variable_any) for synchronizing operations. - Atomic types (
std::atomic_int,std::atomic_long, etc.) for low level atomic access. - Futures and promises (
std::future,std::promise, etc.) for communicating data between threads. - Compatible with Microsoft Visual Studio 2008 and Microsoft Visual C++ Express 2008 for both 32-bit and 64-bit Windows targets.
- Compatible with g++ 4.3 and g++ 4.4 for 32-bit and 64-bit Ubuntu linux targets, making full use of the C++0x support from g++ including rvalue references and variadic templates.
- Full documentation available online.
- Special debug mode for identifying the call chain leading to a deadlock.