Chapter 3
Concurrency in C++
![Content Locked](https://d2eqvbo50s3340.cloudfront.net/f4bdc4a0cdb8470db055e1333f3ee0d1/images/f809d079111e31b1f0b7716cb973d607.jpg)
Section 2
Concurrency Tasks
The concurrency support module supports a concept called task. A task is work that happens concurrently across threads. A concurrent task can be created using The packaged_task class. The packaged_task class conveniently connects the thread function, the corresponding promise, and feature objects. Let's understand the use of packaged_task with a simple example. - Understand how to use a concurrent task with the thread support library - Understand the exception concurrency handling mechanism with a simple example