Wednesday, 22 March 2017
I am happy to announce that the second edition of my book, C++ Concurrency in Action, is now available under the Manning Early Access Program.
The second edition is being updated to cover C++14, C++17 and the Concurrency TS, along with general improvements throughout the book.
This includes full coverage of the library changes from C++14 and C++17:
std::shared_timed_mutex. These provide for multiple-reader/single-writer mutex locks.
std::scoped_lockfrom C++17 for locking multiple mutexes together.
- Parallel overloads of many standard library algorithms include
Plus, full coverage of the library extensions from the concurrency TS:
std::experimental::latchto allow waiting for a set number of events to occur
std::experimental::flex_barrierto synchronize groups of threads
std::experimental::atomic_shared_ptrto allow atomic accesses to a single
shared_ptrinstance from multiple threads, as a better alternative that the
- Extended futures that allow continuations, so additional functions can be scheduled for when a future is ready.
std::experimental::when_anyto allow waiting for either all of a set of futures to be ready, or the first of a set of futures to be ready.
Only the first few chapters are available at the moment, but if you sign up now, then you will get those chapters in PDF form now, as well as updated PDFs including the later chapters as they become ready, along with updates for the earlier ones, and a final print copy of the book when it's done.
If you use the code mlwilliams4 at the checkout when you sign up for the MEAP before 27th March 2017 then you'll get a 50% discount.