Reader small image

You're reading from  Learning Boost C++ Libraries

Product typeBook
Published inJul 2015
Reading LevelIntermediate
Publisher
ISBN-139781783551217
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Arindam Mukherjee
Arindam Mukherjee
author image
Arindam Mukherjee

Arindam Mukherjee is a senior principal software engineer at Symantec, Pune, India, where he is involved in the research and development of business continuity solutions for enterprises. He has used C++ extensively for developing large-scale distributed systems. He was a speaker at Dr. Dobb's Journal India Conference 2014 and is the organizer of regular meets for the Pune C++ and Boost Meetup. He believes that writing books and articles, speaking for interest groups, and engaging with the programming community are the best ways to develop a critical understanding of technology. He is also an amateur musician, dabbles in food photography, and loves profound discussions with his 4-year-old daughter, especially about dinosaurs and their diets.
Read more about Arindam Mukherjee

Right arrow

Summary


In this chapter, we looked at how to write concurrent logic in terms of threads and tasks using the Boost Thread library and the C++11 Standard Library. We learned how to use the futures and promises paradigm to define ordering of operations across concurrent tasks, and some abstractions around futures and promises in the Standard Library. We also studied various lock-based thread synchronization primitives and applied them to some common multithreading problems.

Multithreading is a difficult and complex topic, and this chapter merely introduces the portable APIs available in Boost to write concurrent programs. The Boost Thread library and the concurrent programming interfaces in the C++ Standard Library are an evolving set, and we did not cover several features: the C++ memory model and atomics, Boost Lockfree, thread cancellation, experimental continuations with boost::futures, and several more topics. Architectural concerns in designing concurrent systems and concurrent data structures...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Learning Boost C++ Libraries
Published in: Jul 2015Publisher: ISBN-13: 9781783551217

Author (1)

author image
Arindam Mukherjee

Arindam Mukherjee is a senior principal software engineer at Symantec, Pune, India, where he is involved in the research and development of business continuity solutions for enterprises. He has used C++ extensively for developing large-scale distributed systems. He was a speaker at Dr. Dobb's Journal India Conference 2014 and is the organizer of regular meets for the Pune C++ and Boost Meetup. He believes that writing books and articles, speaking for interest groups, and engaging with the programming community are the best ways to develop a critical understanding of technology. He is also an amateur musician, dabbles in food photography, and loves profound discussions with his 4-year-old daughter, especially about dinosaurs and their diets.
Read more about Arindam Mukherjee