ABOUT THIS BOOK xxi Software requirements To use the code from this book unchanged,you'll need a recent C++compiler that supports the new C++11 language features used in the examples(see appendix A), and you'll need a copy of the C++Standard Thread Library. At the time of writing,g++is the only compiler I'm aware of that ships with an implementation of the Standard Thread Library,although the Microsoft Visual Studio 2011 preview also includes an implementation.The g++implementation of the Thread Library was first introduced in a basic form in g++4.3 and extended in subse- quent releases.g++4.3 also introduced the first support for some of the new C++11 language features;more of the new language features are supported in each subse- quent release.See the g++C++11 status page for details. Microsoft Visual Studio 2010 provides some of the new C++11 language features, such as rvalue references and lambda functions,but doesn't ship with an implementa- tion of the Thread Library. My company,Just Software Solutions Ltd,sells a complete implementation of the C++11 Standard Thread Library for Microsoft Visual Studio 2005,Microsoft Visual Studio 2008,Microsoft Visual Studio 2010,and various versions of g++.?This imple- mentation has been used for testing the examples in this book. The Boost Thread Library provides an API that's based on the C++11 Standard Thread Library proposals and is portable to many platforms.Most of the examples from the book can be modified to work with the Boost Thread Library by judicious replacement of std:with boost:and use of the appropriate #include directives. There are a few facilities that are either not supported (such as std:async)or have different names(such as boost:unique future)in the Boost Thread Library. Author Online Purchase of C++Concurrency in Action includes free access to a private web forum run by Manning Publications where you can make comments about the book,ask technical ques- tions,and receive help from the author and from other users.To access the forum and subscribe to it,point your web browser to www.manning.com/CPlusPlusConcurrencyin- Action.This page provides information on how to get on the forum once you're regis- tered,what kind of help is available,and the rules of conduct on the forum. Manning's commitment to our readers is to provide a venue where a meaningful dialogue between individual readers and between readers and the author can take place.It's not a commitment to any specific amount of participation on the part of the author,whose contribution to the book's forum remains voluntary(and unpaid).We suggest you try asking the author some challenging questions,lest his interest stray! The Author Online forum and the archives of previous discussions will be accessi- ble from the publisher's website as long as the book is in print. GNU Compiler Collection C++0x/C++11 status page,http:/gcc.gnu.org/projects/cxx0x.html. 2 The just:thread implementation of the C++Standard Thread Library,http://www.stdthread.co.uk. 3 The Boost C++library collection,http://www.boost.org.ABOUT THIS BOOK xxi Software requirements To use the code from this book unchanged, you’ll need a recent C++ compiler that supports the new C++11 language features used in the examples (see appendix A), and you’ll need a copy of the C++ Standard Thread Library. At the time of writing, g++ is the only compiler I’m aware of that ships with an implementation of the Standard Thread Library, although the Microsoft Visual Studio 2011 preview also includes an implementation. The g++ implementation of the Thread Library was first introduced in a basic form in g++ 4.3 and extended in subsequent releases. g++ 4.3 also introduced the first support for some of the new C++11 language features; more of the new language features are supported in each subsequent release. See the g++ C++11 status page for details.1 Microsoft Visual Studio 2010 provides some of the new C++11 language features, such as rvalue references and lambda functions, but doesn't ship with an implementation of the Thread Library. My company, Just Software Solutions Ltd, sells a complete implementation of the C++11 Standard Thread Library for Microsoft Visual Studio 2005, Microsoft Visual Studio 2008, Microsoft Visual Studio 2010, and various versions of g++.2 This implementation has been used for testing the examples in this book. The Boost Thread Library3 provides an API that’s based on the C++11 Standard Thread Library proposals and is portable to many platforms. Most of the examples from the book can be modified to work with the Boost Thread Library by judicious replacement of std:: with boost:: and use of the appropriate #include directives. There are a few facilities that are either not supported (such as std::async) or have different names (such as boost::unique_future) in the Boost Thread Library. Author Online Purchase of C++ Concurrency in Action includes free access to a private web forum run by Manning Publications where you can make comments about the book, ask technical questions, and receive help from the author and from other users. To access the forum and subscribe to it, point your web browser to www.manning.com/CPlusPlusConcurrencyinAction. This page provides information on how to get on the forum once you’re registered, what kind of help is available, and the rules of conduct on the forum. Manning’s commitment to our readers is to provide a venue where a meaningful dialogue between individual readers and between readers and the author can take place. It’s not a commitment to any specific amount of participation on the part of the author, whose contribution to the book’s forum remains voluntary (and unpaid). We suggest you try asking the author some challenging questions, lest his interest stray! The Author Online forum and the archives of previous discussions will be accessible from the publisher’s website as long as the book is in print. 1 GNU Compiler Collection C++0x/C++11 status page, http://gcc.gnu.org/projects/cxx0x.html. 2 The just::thread implementation of the C++ Standard Thread Library, http://www.stdthread.co.uk. 3 The Boost C++ library collection, http://www.boost.org